Commit 17423c92 by Petetin Ludovic
parent 9bab05ba
...@@ -118,7 +118,7 @@ def which_cmdfile(): ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment