From 7e0943345705f82cf66ceced291f88ed06447380 Mon Sep 17 00:00:00 2001 From: Blake DeMarcy Date: Sat, 15 Apr 2017 05:44:56 -0500 Subject: [PATCH] freaking out because git actually spoke to me --- clients/urwid/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/urwid/main.py b/clients/urwid/main.py index 73e6c00..204f165 100644 --- a/clients/urwid/main.py +++ b/clients/urwid/main.py @@ -1407,7 +1407,7 @@ def frilly_exit(): # sometimes this gets called before the loop is set up properly try: app.loop.stop() except: pass - if app.prefs["dramatic_exit"]: + if app.prefs["dramatic_exit"] and app.loop.screen_size: width, height = app.loop.screen_size for x in range(height - 1): motherfucking_rainbows(