Closing handle to ZipFile

This commit is contained in:
Nex
2022-09-05 12:21:11 +02:00
parent a863209abb
commit 6a00d3a14d
+4
View File
@@ -58,3 +58,7 @@ class CmdAndroidCheckBugreport(Command):
module.from_zip(self.bugreport_archive, self.bugreport_files)
else:
module.from_folder(self.target_path, self.bugreport_files)
def finish(self) -> None:
if self.bugreport_archive:
self.bugreport_archive.close()