mirror of https://github.com/CIRCL/lookyloo
fix: cache unknown hashes in sanejs
parent
56f98651a6
commit
aee62136ab
|
@ -73,6 +73,8 @@ class SaneJavaScript():
|
||||||
with cached_path.open() as f:
|
with cached_path.open() as f:
|
||||||
to_return[h] = json.load(f)
|
to_return[h] = json.load(f)
|
||||||
|
|
||||||
|
with sanejs_unknowns.open('w') as f:
|
||||||
|
f.writelines(f'{h}\n' for h in unknown_hashes)
|
||||||
return to_return
|
return to_return
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue