Spaces:
Running
Running
Update main.py
Browse files
main.py
CHANGED
@@ -69,7 +69,8 @@ async def find_in(key, file: UploadFile = File(...)):
|
|
69 |
tok = AES.new(bytes.fromhex(key), AES.MODE_GCM, iv).decrypt(payload)[:-16].decode()
|
70 |
if tok not in listed:
|
71 |
listed.append(tok)
|
72 |
-
except Exception:
|
|
|
73 |
continue
|
74 |
|
75 |
return PlainTextResponse("\n".join(listed))
|
|
|
69 |
tok = AES.new(bytes.fromhex(key), AES.MODE_GCM, iv).decrypt(payload)[:-16].decode()
|
70 |
if tok not in listed:
|
71 |
listed.append(tok)
|
72 |
+
except Exception as ex:
|
73 |
+
print(ex)
|
74 |
continue
|
75 |
|
76 |
return PlainTextResponse("\n".join(listed))
|