Update inputManager.py
This commit is contained in:
parent
bb97ccd757
commit
19bb08156c
@ -46,9 +46,9 @@ class inputManager():
|
|||||||
line = line.replace('\n','')
|
line = line.replace('\n','')
|
||||||
if line.replace(" ","").startswith("#"):
|
if line.replace(" ","").startswith("#"):
|
||||||
continue
|
continue
|
||||||
if line.count("=") != 1:
|
if line.split('#')[0].count("=") != 1:
|
||||||
continue
|
continue
|
||||||
sepLine = line.split('=')
|
sepLine = line.split('#')[0].split('=')
|
||||||
commandString = sepLine[1]
|
commandString = sepLine[1]
|
||||||
keys = sepLine[0].replace(" ","").split(',')
|
keys = sepLine[0].replace(" ","").split(',')
|
||||||
currShortcut = []
|
currShortcut = []
|
||||||
|
Loading…
x
Reference in New Issue
Block a user