changeset 35:3cbe7110d8f7

cleanup imports, fix backwards colors in changing level direction cleanup imports, fix backwards colors in changing level direction indicators
author dmcc
date Sun, 07 Jul 2002 12:11:42 +0000
parents 411de8b46aef
children d07b3a20c48e
files light8/rsn.py
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/light8/rsn.py	Sun Jul 07 12:06:16 2002 +0000
+++ b/light8/rsn.py	Sun Jul 07 12:11:42 2002 +0000
@@ -3,8 +3,8 @@
 
 from Tkinter import *
 from time import sleep
-from signal import *
-import sys, thread, cPickle, math
+from signal import signal, SIGINT
+import sys, cPickle
 
 import io
 from uihelpers import *
@@ -112,9 +112,9 @@
                 lab.config(text="%d" % lev)
                 colorlabel(lab)
                 if lev < oldlev:
-                    numlab['bg'] = 'red'
+                    numlab['bg'] = 'blue'
                 else:
-                    numlab['bg'] = 'blue'
+                    numlab['bg'] = 'red'
             else:
                 numlab['bg'] = 'lightPink'