aboutsummaryrefslogtreecommitdiffstats
path: root/clients/urwid/main.py
diff options
context:
space:
mode:
authorBlake DeMarcy <ofunknowndescent@gmail.com>2017-04-15 05:44:56 -0500
committerBlake DeMarcy <ofunknowndescent@gmail.com>2017-04-15 05:44:56 -0500
commit7e0943345705f82cf66ceced291f88ed06447380 (patch)
treec33c1458688332ca69cd3249e369891d8f4f2a8e /clients/urwid/main.py
parente4b49f11fc26ac0c6216304a7bee09372e28bc19 (diff)
downloadbbj-7e0943345705f82cf66ceced291f88ed06447380.tar.gz
freaking out because git actually spoke to me
Diffstat (limited to 'clients/urwid/main.py')
-rw-r--r--clients/urwid/main.py2
1 files changed, 1 insertions, 1 deletions
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(
Un proyecto texto-plano.xyz