Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

do not explode if curses.curs_set(0) fails

  • Loading branch information...
commit 674bdbbdd802d8f84c49a301cd2ec63eed4d6112 1 parent 5d81044
unbit authored

Showing 1 changed file with 4 additions and 1 deletion. Show diff stats Hide diff stats

  1. +4 1 uwsgitop
5 uwsgitop
@@ -58,7 +58,10 @@ curses.init_pair(4, curses.COLOR_YELLOW, curses.COLOR_BLACK)
58 58 screen.timeout(freq*1000)
59 59 atexit.register(game_over)
60 60
61   -curses.curs_set(0)
  61 +try:
  62 + curses.curs_set(0)
  63 +except:
  64 + pass
62 65 screen.clear()
63 66
64 67 def reqcount(a, b):

0 comments on commit 674bdbb

Please sign in to comment.
Something went wrong with that request. Please try again.