Skip to content

Commit

Permalink
Properly cleanup after conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
micahflee committed Dec 14, 2021
1 parent 17e1121 commit d8adb2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dangerzone/container.py
Expand Up @@ -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

Expand Down

0 comments on commit d8adb2e

Please sign in to comment.