Formating and standalone fix
- when running as a standalone program, helper_msgcoding logger import was missing
This commit is contained in:
parent
c6d45dd394
commit
bae7351849
|
@ -5,6 +5,7 @@ import string
|
|||
import zlib
|
||||
|
||||
import shared
|
||||
from debug import logger
|
||||
import messagetypes
|
||||
from tr import _translate
|
||||
|
||||
|
@ -13,6 +14,7 @@ BITMESSAGE_ENCODING_TRIVIAL = 1
|
|||
BITMESSAGE_ENCODING_SIMPLE = 2
|
||||
BITMESSAGE_ENCODING_EXTENDED = 3
|
||||
|
||||
|
||||
class MsgEncode(object):
|
||||
def __init__(self, message, encoding=BITMESSAGE_ENCODING_SIMPLE):
|
||||
self.data = None
|
||||
|
|
Loading…
Reference in New Issue
Block a user