Mercurial > code > home > repos > light9
changeset 137:7d768d04b9f0
tiny changes, probably "not necessary!"
author | dmcc |
---|---|
date | Sat, 14 Jun 2003 15:11:10 +0000 |
parents | 7e91c49fb2d6 |
children | 304152488ed7 |
files | light8/rsn.py |
diffstat | 1 files changed, 7 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/light8/rsn.py Sat Jun 14 15:02:38 2003 +0000 +++ b/light8/rsn.py Sat Jun 14 15:11:10 2003 +0000 @@ -6,6 +6,7 @@ from uihelpers import * from Fader import Fader from Lightboard import Lightboard +import time # time is on our side if len(sys.argv) >= 2: DUMMY = 0 @@ -36,7 +37,7 @@ # # start net slider server in separate thread # -print "Light 8.8: External input server DISABLED" +print "Light 8.8: External input server DELETED!" #import ExternalInput, thread #thread.start_new_thread(ExternalInput.start_server,()) @@ -46,8 +47,12 @@ root.bind_class("all","<ButtonPress-5>",lambda ev: eventtoparent(ev,"<ButtonPress-5>")) print 'Light 8.8: "Uh...Shiny McShine?"' +root.update_idletasks() + if 1: - root.mainloop() # Receiver switches main + while 1: + root.update() # Receiver switches main + time.sleep(0.01) else: sys.path.append("/home/drewp/projects/editor/pour") from utils import runstats