mirror of
https://github.com/freedomofpress/dangerzone.git
synced 2025-04-29 18:22:37 +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
|
success = True
|
||||||
|
|
||||||
# Clean up
|
# Clean up
|
||||||
shutil.rmtree(tmpdir.name)
|
tmpdir.cleanup()
|
||||||
|
|
||||||
return success
|
return success
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue