diff options
author | 2015-04-09 20:11:11 +0200 | |
---|---|---|
committer | 2015-04-09 20:11:11 +0200 | |
commit | f53d57b902b71708f05a3125872ec5d34ebe65b9 (patch) | |
tree | 2f8756396411a98331cb937e42ded87da2c9f253 /pyload/plugin/addon/MergeFiles.py | |
parent | Merge remote-tracking branch 'origin/0.4.10' into 0.4.10 (diff) | |
download | pyload-f53d57b902b71708f05a3125872ec5d34ebe65b9.tar.xz |
fix: OboomCom and SmoozedCom with beaker >= v1.7.x
fix: run plugins this fix makes the plugin attribute "__name" obsolet
Diffstat (limited to 'pyload/plugin/addon/MergeFiles.py')
-rw-r--r-- | pyload/plugin/addon/MergeFiles.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pyload/plugin/addon/MergeFiles.py b/pyload/plugin/addon/MergeFiles.py index 87775bea2..a0298052b 100644 --- a/pyload/plugin/addon/MergeFiles.py +++ b/pyload/plugin/addon/MergeFiles.py @@ -46,7 +46,7 @@ class MergeFiles(Addon): for name, file_list in files.iteritems(): self.logInfo(_("Starting merging of"), name) - final_file = open(fs_join(download_folder, name), "wb") + with open(fs_join(download_folder, name), "wb") as final_file: for splitted_file in file_list: self.logDebug("Merging part", splitted_file) |