Syntax error

pull/11/head
Nicholas Hope 2022-08-04 16:20:32 -04:00
parent 3828150d25
commit abdbbca16c
1 changed files with 2 additions and 2 deletions

View File

@ -102,9 +102,9 @@ def expandBuildings(building):
def simpleHold(key, instruction):
# This isn't quite right, fix later!
if instruction[0] != '+':
return += f'bind {key} "+{instruction}"\n'
return f'bind {key} "+{instruction}"\n'
else:
return += f'bind {key} "{instruction}"\n'
return f'bind {key} "{instruction}"\n'
def listHold(key, options):
ret = f'alias +{key}_bind "{options["press"]}"\n' +\