diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-04-07 22:08:58 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-04-07 22:08:58 +0200 |
commit | c99421d6385e0f6b8bd9095c705becbc35f873a0 (patch) | |
tree | 40cbfeb2ac5042660c3aef5e86b95f8437f1a5d2 /module/plugins/hooks/MergeFiles.py | |
parent | [YadiSk] Fix https://github.com/pyload/pyload/issues/1321 (diff) | |
download | pyload-c99421d6385e0f6b8bd9095c705becbc35f873a0.tar.xz |
Traceback code cosmetics
Diffstat (limited to 'module/plugins/hooks/MergeFiles.py')
-rw-r--r-- | module/plugins/hooks/MergeFiles.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/module/plugins/hooks/MergeFiles.py b/module/plugins/hooks/MergeFiles.py index 2900b0d29..941938920 100644 --- a/module/plugins/hooks/MergeFiles.py +++ b/module/plugins/hooks/MergeFiles.py @@ -4,8 +4,7 @@ from __future__ import with_statement import os import re - -from traceback import print_exc +import traceback from module.plugins.Hook import Hook, threaded from module.utils import save_join @@ -75,7 +74,7 @@ class MergeFiles(Hook): self.logDebug("Finished merging part", splitted_file) except Exception, e: - print_exc() + traceback.print_exc() finally: pyfile.setProgress(100) |