From: Oleg Broytman Date: Thu, 7 May 2020 22:31:12 +0000 (+0300) Subject: Fix: Re-raise the exception X-Git-Tag: 3.1.0~6 X-Git-Url: https://git.phdru.name/?p=mimedecode.git;a=commitdiff_plain;h=b5aad0a51e1e9462ddf7d501da4eba7c3ceebde9 Fix: Re-raise the exception --- diff --git a/mimedecode/mimedecode.py b/mimedecode/mimedecode.py index bdc44c1..c23a88f 100644 --- a/mimedecode/mimedecode.py +++ b/mimedecode/mimedecode.py @@ -530,3 +530,4 @@ def open_output_file(filename): except Exception: if create: shutil.rmtree(full_dir) + raise