Skip to content

Commit 5ca88ca

Browse files
committed
Update jjclock.py
1 parent 2a28be8 commit 5ca88ca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

jjclock.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -234,8 +234,8 @@ def doUpdate():
234234
displaymanager.doRender(jjrenderer.renderers["updating"](), version="{0} --> {1}".format(updater.currentversion, updater.latestversion))
235235
#killthreads() # stop most of the action first; reduce the amount of stuff affected by updating
236236
ecode = updater.doUpdate(updater.latestversion)
237-
#killthreads() # try to shut down
238-
raise SystemExit(ecode) # force quit
237+
killthreads() # try to shut down
238+
sys.exit(ecode) # force quit
239239
else:
240240
logger.warning("will not update on windows")
241241

0 commit comments

Comments
 (0)