This commit is contained in:
Petetin Ludovic 2012-10-02 15:12:33 +02:00
commit 17423c9268

View file

@ -118,7 +118,7 @@ def which_cmdfile():
if os.path.exists(path): if os.path.exists(path):
for line in open(path): for line in open(path):
if line.startswith('command_file'): if line.startswith('command_file'):
return line.partition('=')[2].strip() return line.split('=')[1].strip()
return None return None