diff options
Diffstat (limited to 'Tools/modulator/modulator.py')
-rwxr-xr-x | Tools/modulator/modulator.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Tools/modulator/modulator.py b/Tools/modulator/modulator.py index 3e06bc2..a06306b 100755 --- a/Tools/modulator/modulator.py +++ b/Tools/modulator/modulator.py @@ -126,7 +126,7 @@ class UI: fp = open(fn, 'w') try: - exec pycode + exec(pycode) except: message('An error occurred:-)') return @@ -371,7 +371,7 @@ def main(): fp = open(sys.argv[1]) pycode = fp.read() try: - exec pycode + exec(pycode) except: sys.stderr.write('An error occurred:-)\n') sys.exit(1) |