fix Attribute/TypeErrors when quitting before logging in
parent
dd90247d8c
commit
11bdf9669c
|
@ -1404,8 +1404,10 @@ def frilly_exit():
|
||||||
and shit, or just say bye, depending on the user's bbjrc
|
and shit, or just say bye, depending on the user's bbjrc
|
||||||
setting, `dramatic_exit`
|
setting, `dramatic_exit`
|
||||||
"""
|
"""
|
||||||
app.loop.stop()
|
# sometimes this gets called before the loop is set up properly
|
||||||
if app.prefs["dramatic_exit"]:
|
try: app.loop.stop()
|
||||||
|
except: pass
|
||||||
|
if app.prefs["dramatic_exit"] and app.loop.screen_size:
|
||||||
width, height = app.loop.screen_size
|
width, height = app.loop.screen_size
|
||||||
for x in range(height - 1):
|
for x in range(height - 1):
|
||||||
motherfucking_rainbows(
|
motherfucking_rainbows(
|
||||||
|
|
Loading…
Reference in New Issue