Formating and standalone fix

- when running as a standalone program, helper_msgcoding logger import
  was missing
master
Peter Šurda 6 years ago
parent c6d45dd394
commit bae7351849
Signed by untrusted user: PeterSurda
GPG Key ID: 0C5F50C0B5F37D87

@ -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…
Cancel
Save