mirror of
https://github.com/freedomofpress/dangerzone.git
synced 2025-04-28 18:02:38 +02:00
Properly cleanup after conversion
This commit is contained in:
parent
17e1121e57
commit
d8adb2e9cc
1 changed files with 1 additions and 1 deletions
|
@ -135,7 +135,7 @@ def convert(input_filename, output_filename, ocr_lang, stdout_callback):
|
|||
success = True
|
||||
|
||||
# Clean up
|
||||
shutil.rmtree(tmpdir.name)
|
||||
tmpdir.cleanup()
|
||||
|
||||
return success
|
||||
|
||||
|
|
Loading…
Reference in a new issue