mirror of
https://github.com/flobz/psa_car_controller.git
synced 2026-08-22 17:36:15 +00:00
fix atexit
This commit is contained in:
@@ -43,7 +43,7 @@ if __name__ == "__main__":
|
||||
web.app.myp = MyPSACC.load_config(name=args.config.name)
|
||||
else:
|
||||
web.app.myp = MyPSACC.load_config()
|
||||
atexit.register(web.app.save_config)
|
||||
atexit.register(web.app.myp.save_config)
|
||||
if args.record_position:
|
||||
web.app.myp.set_record(True)
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user