]> git.dolda2000.com Git - ashd.git/commitdiff
python: Fixed async module bug.
authorFredrik Tolf <fredrik@dolda2000.com>
Sun, 19 Jun 2016 01:03:16 +0000 (03:03 +0200)
committerFredrik Tolf <fredrik@dolda2000.com>
Sun, 19 Jun 2016 01:03:16 +0000 (03:03 +0200)
python3/ashd/async.py

index 4247bd6e6f47ed4486b4a3c895ba2e7d0aae69d6..e30f858a3a80b8866b312c627f2a38dd425a027f 100644 (file)
@@ -26,7 +26,7 @@ class epoller(object):
     def exception(self, ch, *exc):
         self.remove(ch)
         if self.exc_handler is None:
-            traceback.print_exception(exc)
+            traceback.print_exception(*exc)
         else:
             self.exc_handler(ch, *exc)