avoid single char variable names

This commit is contained in:
Janne Sinivirta
2017-08-27 16:40:27 +03:00
parent e82f6e0da8
commit 06d92042fd
4 changed files with 17 additions and 17 deletions
+2 -2
View File
@@ -63,8 +63,8 @@ class TradeThread(threading.Thread):
while not _should_stop:
try:
self._process()
except (ConnectionError, JSONDecodeError, ValueError) as e:
msg = 'Got {} during _process()'.format(e.__class__.__name__)
except (ConnectionError, JSONDecodeError, ValueError) as error:
msg = 'Got {} during _process()'.format(error.__class__.__name__)
logger.exception(msg)
finally:
Session.flush()