summaryrefslogtreecommitdiffstats
path: root/module/plugins/hooks/MergeFiles.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/hooks/MergeFiles.py')
-rw-r--r--module/plugins/hooks/MergeFiles.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/module/plugins/hooks/MergeFiles.py b/module/plugins/hooks/MergeFiles.py
index 0eab0037c..7562df2a8 100644
--- a/module/plugins/hooks/MergeFiles.py
+++ b/module/plugins/hooks/MergeFiles.py
@@ -2,7 +2,8 @@
import os
import re
-import traceback
+
+from traceback import print_exc
from module.plugins.Hook import Hook, threaded
from module.utils import save_join, fs_encode
@@ -68,7 +69,7 @@ class MergeFiles(Hook):
s_file.close()
self.logDebug("Finished merging part", splitted_file)
except Exception, e:
- print traceback.print_exc()
+ print_exc()
finally:
pyfile.setProgress(100)
pyfile.setStatus("finished")