Skip to content

Commit

Permalink
fix: add missing 'or' operator
Browse files Browse the repository at this point in the history
  • Loading branch information
maij committed Mar 22, 2017
1 parent 385b484 commit 73c89f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qcodes/instrument_drivers/keysight/SD_common/SD_Module.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def result_parser(value, name, verbose=False):
value: parsed value, which is the same as value if non-negative
or not a number
"""
if isinstance(value, ndarray) isinstance(value, str) or isinstance(value, bool) or (int(value) >= 0):
if isinstance(value, ndarray) or isinstance(value, str) or isinstance(value, bool) or (int(value) >= 0):
if verbose:
print('{}: {}'.format(name, value))
return value
Expand Down

0 comments on commit 73c89f4

Please sign in to comment.