test.py | raw changeset files shortlog |
1.1 --- a/test.py Sun Mar 07 01:49:29 2010 +0100 1.2 +++ b/test.py Sun Mar 07 02:21:18 2010 +0100 1.3 @@ -31,7 +31,7 @@ 1.4 print micropython.cmd.show_optimisations() 1.5 sys.exit(1) 1.6 1.7 - if len(sys.argv) > 1: 1.8 + if len(sys.argv) > 1 and sys.argv[1] != "-": 1.9 filename = os.path.abspath(sys.argv[1]) 1.10 path.append(os.path.split(filename)[0]) 1.11 else: