diff --git a/src/helper_msgcoding.py b/src/helper_msgcoding.py index 76dad423..8c1cfafe 100644 --- a/src/helper_msgcoding.py +++ b/src/helper_msgcoding.py @@ -103,8 +103,8 @@ class MsgDecode(object): while len(tmp) <= BMConfigParser().safeGetInt("zlib", "maxsize"): try: got = dc.decompress( - data, BMConfigParser().safeGetInt("zlib", "maxsize") + - 1 - len(tmp)) + data, BMConfigParser().safeGetInt("zlib", "maxsize") + + 1 - len(tmp)) # EOF if got == "": break