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 4247bd6..e30f858 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)