mirror of
https://github.com/simon987/od-database.git
synced 2025-12-14 07:09:03 +00:00
Some adjustments to make it work on Stretch server
This commit is contained in:
@@ -68,7 +68,7 @@ def export_to_json(q: Queue, out_file: str) -> int:
|
||||
with open(out_file, "w") as f:
|
||||
while True:
|
||||
try:
|
||||
next_file: File = q.get_nowait()
|
||||
next_file = q.get_nowait()
|
||||
f.write(next_file.to_json() + "\n")
|
||||
counter += 1
|
||||
except Empty:
|
||||
|
||||
Reference in New Issue
Block a user