mirror of
https://github.com/BOSWatch/BW3-Core.git
synced 2025-12-06 07:12:04 +01:00
edit decoder.py
This commit is contained in:
parent
f2a9f907b7
commit
c2fc70f270
|
|
@ -45,8 +45,13 @@ class DummyDecoder:
|
|||
an getDecoder() with false data, we must return a decoder
|
||||
object with an decode() method to prevent an error"""
|
||||
def __init__(self):
|
||||
"""!Do nothing"""
|
||||
pass
|
||||
|
||||
@staticmethod
|
||||
def decode(data):
|
||||
"""!Dummy decode() method
|
||||
|
||||
@param data: data to decode
|
||||
@return ALWAYS None"""
|
||||
return None
|
||||
|
|
|
|||
Loading…
Reference in a new issue