summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Mac/Tools/IDE/PyEdit.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mac/Tools/IDE/PyEdit.py b/Mac/Tools/IDE/PyEdit.py
index 8a70cdb..bff5baf 100644
--- a/Mac/Tools/IDE/PyEdit.py
+++ b/Mac/Tools/IDE/PyEdit.py
@@ -1120,7 +1120,7 @@ def execstring(pytext, globals, locals, filename="<string>", debugging=0,
return
else:
tracebackwindow.traceback(1, filename)
- if not uthread2:
+ if uthread2:
uthread2.globalUnlock()
if debugging:
sys.settrace(None)