remove unused code

This commit is contained in:
Alan Hamlett 2016-09-01 00:16:24 +02:00
parent 666f29147e
commit dbec1d03a6

View file

@ -78,8 +78,6 @@ def traceback_formatter(*args, **kwargs):
level = level.lower() level = level.lower()
if level == 'warn' or level == 'warning': if level == 'warn' or level == 'warning':
logging.getLogger('WakaTime').warning(traceback.format_exc()) logging.getLogger('WakaTime').warning(traceback.format_exc())
elif level == 'info':
logging.getLogger('WakaTime').info(traceback.format_exc())
elif level == 'debug': elif level == 'debug':
logging.getLogger('WakaTime').debug(traceback.format_exc()) logging.getLogger('WakaTime').debug(traceback.format_exc())
else: else: