From 460db2ff4891b91c72d1142424cfb29829daad68 Mon Sep 17 00:00:00 2001 From: Christoph Berg Date: Thu, 26 Nov 2015 08:36:46 +0100 Subject: [PATCH] Fix place holder character for string.format --- zmon_cli/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zmon_cli/main.py b/zmon_cli/main.py index 51e3154..a54c21d 100644 --- a/zmon_cli/main.py +++ b/zmon_cli/main.py @@ -158,7 +158,7 @@ def get_config_data(): allow_unicode=True, encoding='utf-8') else: - clickclick.warning("No configuration file found at [%s]".format(DEFAULT_CONFIG_FILE)) + clickclick.warning("No configuration file found at [{}]".format(DEFAULT_CONFIG_FILE)) data['url'] = click.prompt("ZMon Base URL (e.g. https://zmon2.local/rest/api/v1)") data['user'] = click.prompt("ZMon username", default=os.environ['USER'])