Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8bb61c8

Browse files
committed
repair damage: now works again as a CFM app.
1 parent 9a38947 commit 8bb61c8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Mac/Tools/IDE/PythonIDEMain.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ def __init__(self):
4646
# With -D option (OSX command line only) keep stderr, for debugging the IDE
4747
# itself.
4848
debug_stderr = None
49-
if sys.argv[1] == '-D':
49+
if len(sys.argv) >= 2 and sys.argv[1] == '-D':
5050
debug_stderr = sys.stderr
5151
del sys.argv[1]
5252
PyConsole.installoutput()

0 commit comments

Comments
 (0)