chg: [core ] various minor fixes.

This commit is contained in:
Cédric Bonhomme 2021-11-01 13:52:16 +01:00
parent b64d039389
commit 4aac55ec77
No known key found for this signature in database
GPG key ID: A1CB94DE57B7A70D
4 changed files with 5 additions and 8 deletions

View file

@ -128,7 +128,7 @@ def reveal(
if count == tools.ENCODINGS[encoding]:
bitab.append(chr(buff))
buff, count = 0, 0
if bitab[-1] == ":" and limit == None:
if bitab[-1] == ":" and limit is None:
if "".join(bitab[:-1]).isdigit():
limit = int("".join(bitab[:-1]))
else: