fix charge_control web/callback

This commit is contained in:
jlayec
2021-02-22 15:41:29 +01:00
committed by Florian Bezannier
parent 2ef1854bfe
commit 3155208001
+3 -1
View File
@@ -66,4 +66,6 @@ if __name__ == "__main__":
if args.charge_control:
web.app.chc = ChargeControls.load_config(web.app.myp, name=args.charge_control)
web.app.chc.start()
save_config(web.app.myp)
save_config(web.app.myp)
t1 = Thread(target=start_app, args=["My car info", args.base_path, args.debug < 20, args.listen, int(args.port)])
t1.start()