fix call to config

This commit is contained in:
ohsqueezy 2022-11-04 21:02:31 -04:00
parent d122f66af4
commit f091e01605
1 changed files with 1 additions and 1 deletions

2
NS.py
View File

@ -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)