Skip to content

Commit 27b499c

Browse files
committed
Remove idempotent condition in method: get_option_value_from_args from coriolisclient/cli/utils.py
1 parent 08a411f commit 27b499c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

coriolisclient/cli/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ def get_option_value_from_args(args, option_name, error_on_no_value=True):
175175
with file_arg as fin:
176176
raw_value = fin.read()
177177

178-
if not value and raw_value:
178+
if raw_value:
179179
try:
180180
value = json.loads(raw_value)
181181
except ValueError as ex:

0 commit comments

Comments
 (0)