fix execution without charge control

This commit is contained in:
jlayec
2021-03-09 20:29:33 +00:00
parent 36bc22ca7f
commit eb8f5c8a55
2 changed files with 1 additions and 4 deletions
-3
View File
@@ -63,9 +63,6 @@ if __name__ == "__main__":
client_password = input("mypeugeot password: ")
web.app.myp.connect(client_email, client_password)
logger.info(str(web.app.myp.get_vehicles()))
if args.offline:
logger.info("offline mode")
else:
if args.remote_disable:
logger.info("mqtt disabled")
else:
+1 -1
View File
@@ -44,7 +44,7 @@ def start_app(title, base_path, debug: bool, host, port):
myp = None
chc: ChargeControls
chc: ChargeControls = None
def save_config(my_peugeot: MyPSACC):