diff --git a/decrypt-db.py b/decrypt-db.py index 39e63d5..2994f70 100755 --- a/decrypt-db.py +++ b/decrypt-db.py @@ -77,7 +77,8 @@ def get_uin(): candidates.append(uin) logger.info(f"found uin={uin} in systemInfo.cfg") - candidates = list({str(x) for x in candidates if x != 0}) + candidates = list({str(x) if isinstance(x, int) else x + for x in candidates if x != 0}) logger.info(f"Possible uin: {candidates}") return candidates