summaryrefslogtreecommitdiff
path: root/utils/raspberrypi/ctt/ctt_tools.py
diff options
context:
space:
mode:
Diffstat (limited to 'utils/raspberrypi/ctt/ctt_tools.py')
-rw-r--r--utils/raspberrypi/ctt/ctt_tools.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/raspberrypi/ctt/ctt_tools.py b/utils/raspberrypi/ctt/ctt_tools.py
index e5871b60..27080de0 100644
--- a/utils/raspberrypi/ctt/ctt_tools.py
+++ b/utils/raspberrypi/ctt/ctt_tools.py
@@ -62,9 +62,9 @@ def parse_input():
directory = get_config(args_dict, '-i', None, 'string')
config = get_config(args_dict, '-c', None, 'string')
log_path = get_config(args_dict, '-l', None, 'string')
- if directory == None:
+ if directory is None:
raise ArgError('\n\nERROR! No input directory given.')
- if json_output == None:
+ if json_output is None:
raise ArgError('\n\nERROR! No output json given.')
return json_output, directory, config, log_path
"""