swizxx commited on
Commit
5bc7f41
1 Parent(s): 09a50b4

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +2 -1
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))