diff --git a/server.py b/server.py index 65b21de..178e6d8 100755 --- a/server.py +++ b/server.py @@ -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: diff --git a/web/app.py b/web/app.py index 54985f6..aaed20e 100644 --- a/web/app.py +++ b/web/app.py @@ -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):