Update fitbit.py

This commit is contained in:
Marc Forth 2018-03-13 12:45:14 +00:00 committed by GitHub
parent 41f5e492e7
commit 8d672fbec8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -165,8 +165,8 @@ def request_app_setup(hass, config, add_devices, config_path,
if os.path.isfile(config_path): if os.path.isfile(config_path):
config_file = load_json(config_path) config_file = load_json(config_path)
if config_file == DEFAULT_CONFIG: if config_file == DEFAULT_CONFIG:
error_msg = ("You didn't correctly modify the {}}", error_msg = ("You didn't correctly modify the file",
" please try again").format(config_path) " please try again")
configurator.notify_errors(_CONFIGURING['fitbit'], configurator.notify_errors(_CONFIGURING['fitbit'],
error_msg) error_msg)
else: else: