diff --git a/esphomeyaml/dashboard/dashboard.py b/esphomeyaml/dashboard/dashboard.py index 35d31046a0..2733b7dc92 100644 --- a/esphomeyaml/dashboard/dashboard.py +++ b/esphomeyaml/dashboard/dashboard.py @@ -501,7 +501,7 @@ def start_web_server(args): PASSWORD_DIGEST = hmac.new(args.password).digest() if USING_HASSIO_AUTH or USING_PASSWORD: - cookie_secret_path = os.path.join(CONFIG_DIR, '.esphomeyaml', '.cookie_secret') + cookie_secret_path = os.path.join(CONFIG_DIR, '.esphomeyaml', 'cookie_secret') if os.path.exists(cookie_secret_path): with open(cookie_secret_path, 'r') as f: COOKIE_SECRET = f.read()