Updated loader tests.

This commit is contained in:
Michael Lazar
2015-12-03 20:55:37 -08:00
parent 9c6d3ab542
commit 7ebcfb9cca
3 changed files with 5 additions and 7 deletions

View File

@@ -179,7 +179,7 @@ class LoadScreen(object):
handled_exceptions = (RTVError, PRAWException, RequestException)
if isinstance(e, handled_exceptions):
# Pass the message straight through to the user
message = six.text_type(e).split('/n') if e else exc_name
message = six.text_type(e).split('/n') if str(e) else exc_name
self._terminal.show_notification(message)
return True
elif isinstance(e, KeyboardInterrupt):