summaryrefslogtreecommitdiffstats
path: root/Mac/Demo
diff options
context:
space:
mode:
Diffstat (limited to 'Mac/Demo')
-rw-r--r--Mac/Demo/cgi/realcgitest.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Mac/Demo/cgi/realcgitest.py b/Mac/Demo/cgi/realcgitest.py
index ca846bf..5b45ed4 100644
--- a/Mac/Demo/cgi/realcgitest.py
+++ b/Mac/Demo/cgi/realcgitest.py
@@ -11,7 +11,9 @@ class CGITest(AEServer, MiniApplication):
self.installaehandler('aevt', 'oapp', self.open_app)
self.installaehandler('aevt', 'quit', self.quit)
self.installaehandler('WWW\275', 'sdoc', self.cgihandler)
+ oldparams = MacOS.SchedParams(0, 0)
self.mainloop()
+ apply(MacOS.SchedParams, oldparams)
def quit(self, **args):
self.quitting = 1