probably(?) fixed bug with Windows: comparison string should be 'Windows' not 'Windos' , I suppose
This commit is contained in:
parent
ec42ce489b
commit
9a2ad45f7a
|
@ -67,7 +67,7 @@ parser.add_option("-s","--shell", type="string",
|
||||||
dest = "shell", \
|
dest = "shell", \
|
||||||
help = "type of shell, e.g. "+', '.join(validShell.keys())+" [%default]")
|
help = "type of shell, e.g. "+', '.join(validShell.keys())+" [%default]")
|
||||||
|
|
||||||
parser.set_defaults(shell = 'windows' if platform.system() == 'Windos' else 'bash')
|
parser.set_defaults(shell = 'windows' if platform.system() == 'Windows' else 'bash')
|
||||||
(options, args) = parser.parse_args()
|
(options, args) = parser.parse_args()
|
||||||
|
|
||||||
pathInfo = {}
|
pathInfo = {}
|
||||||
|
|
Loading…
Reference in New Issue