1
1
mirror of https://github.com/reikkaps/spaceapicli.git synced 2025-01-15 11:15:31 +01:00

Remove the prefix char in output

This commit is contained in:
Reik Kaps 2020-10-25 08:06:05 +01:00
parent 591ac112dd
commit 16a73b5949

View File

@ -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