Respect that playerInput can be none

master
Sebastian Lohff 11 years ago
parent 7a8a7ab16a
commit ea8254c68e

@ -73,6 +73,7 @@ if __name__ == '__main__':
# create and start input threads
print(config["playerInput"])
inputs = []
if config["playerInput"] is not None:
for playerInput in config["playerInput"]:
args = playerInput.get("Args", [])
if args is None:

Loading…
Cancel
Save