Updated code quality binary operator warning changes in helper_msgcoding.py

This commit is contained in:
kuldeep.k@cisinlabs.com 2021-08-18 21:45:45 +05:30
parent ef01b56291
commit b993446160
No known key found for this signature in database
GPG Key ID: AF4FB299BF7C7C2A

View File

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