Formating and standalone fix

- when running as a standalone program, helper_msgcoding logger import
  was missing
This commit is contained in:
Peter Šurda 2016-11-15 17:09:08 +01:00
parent c6d45dd394
commit bae7351849
Signed by untrusted user: PeterSurda
GPG Key ID: 0C5F50C0B5F37D87
1 changed files with 2 additions and 0 deletions

View File

@ -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