From 16a73b5949305c70449656d31061a5a3a028ec8f Mon Sep 17 00:00:00 2001 From: Reiko Kaps Date: Sun, 25 Oct 2020 08:06:05 +0100 Subject: [PATCH] Remove the prefix char in output --- src/SpaceApiCli.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/SpaceApiCli.py b/src/SpaceApiCli.py index b40e311..bc1b52b 100755 --- a/src/SpaceApiCli.py +++ b/src/SpaceApiCli.py @@ -55,10 +55,10 @@ def status(json_data, verbose): pass if json_data['state']['open'] is False: - print(' {} is closed'.format(str(json_data['space']))) + print('{} is closed'.format(str(json_data['space']))) return False - print(' {} is open'.format(str(json_data['space']))) + print('{} is open'.format(str(json_data['space']))) return True