summaryrefslogtreecommitdiffstats
path: root/module/plugins/hooks/IRCInterface.py
diff options
context:
space:
mode:
authorGravatar sraedler <simon.raedler@yahoo.de> 2015-04-08 01:58:10 +0200
committerGravatar sraedler <simon.raedler@yahoo.de> 2015-04-08 01:58:10 +0200
commita59784a64f8afdca1642a0e53a396548a8608d61 (patch)
treea7eb9914bbc55bbc46f5a5f6929c6c6c95c81244 /module/plugins/hooks/IRCInterface.py
parentFixed RemixshareCom (diff)
parent[ExtractArchive] Fix https://github.com/pyload/pyload/issues/1322 (diff)
downloadpyload-a59784a64f8afdca1642a0e53a396548a8608d61.tar.xz
Merge pull request #1 from pyload/stable
merge with base
Diffstat (limited to 'module/plugins/hooks/IRCInterface.py')
-rw-r--r--module/plugins/hooks/IRCInterface.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hooks/IRCInterface.py b/module/plugins/hooks/IRCInterface.py
index d76b9cb85..9e2f670e6 100644
--- a/module/plugins/hooks/IRCInterface.py
+++ b/module/plugins/hooks/IRCInterface.py
@@ -4,11 +4,11 @@ import re
import socket
import ssl
import time
+import traceback
from pycurl import FORM_FILE
from select import select
from threading import Thread
-from traceback import print_exc
from module.Api import PackageDoesNotExists, FileDoesNotExists
from module.network.RequestFactory import getURL
@@ -106,7 +106,7 @@ class IRCInterface(Thread, Hook):
except IRCError, ex:
self.sock.send("QUIT :byebye\r\n")
- print_exc()
+ traceback.print_exc()
self.sock.close()