fix call to config
This commit is contained in:
parent
d122f66af4
commit
f091e01605
2
NS.py
2
NS.py
|
@ -229,7 +229,7 @@ class NS(Game, Animation):
|
|||
# force to no serial mode.
|
||||
if arguments.pi:
|
||||
self.get_configuration().set("input", "pi", True)
|
||||
if get_configuration("input", "serial"):
|
||||
if self.get_configuration("input", "serial"):
|
||||
print("Pi mode was requested, so forcing serial (Arduino) mode to off")
|
||||
self.get_configuration().set("input", "serial", False)
|
||||
|
||||
|
|
Loading…
Reference in New Issue