Let the gc close the file

This commit is contained in:
shortcutme 2017-02-19 12:22:04 +01:00
parent f857330f47
commit 04492a3262
No known key found for this signature in database
GPG key ID: 5B63BAE6CB9613AE

View file

@ -12,7 +12,6 @@ archive_cache = {}
def closeArchive(archive_path): def closeArchive(archive_path):
if archive_path in archive_cache: if archive_path in archive_cache:
archive_cache[archive_path].close()
del archive_cache[archive_path] del archive_cache[archive_path]