From 7e16490a4a7537bd3aa2e0d6cd36efcf47a1023f Mon Sep 17 00:00:00 2001 From: Snabbare Hastighet Date: Thu, 31 Oct 2019 15:27:08 +0000 Subject: [PATCH] Remove unnecessary string conversion --- disco/util/emitter.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/disco/util/emitter.py b/disco/util/emitter.py index 9446c0e..5f703a1 100644 --- a/disco/util/emitter.py +++ b/disco/util/emitter.py @@ -125,7 +125,7 @@ class Emitter(LoggingClass): name, listener.callback.__name__, e.__class__.__name__, - str(e), + e, )) # Next execute all AFTER handlers sequentially @@ -137,7 +137,7 @@ class Emitter(LoggingClass): name, listener.callback.__name__, e.__class__.__name__, - str(e), + e, )) # Next enqueue all sequential handlers. This just puts stuff into a queue