Skip to content

Commit a49d0d1

Browse files
committed
Update get.py
1 parent 12beea1 commit a49d0d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/get.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ def identify_platform():
228228
identified_platform = identify_platform()
229229
print('Platform: {0}'.format(identified_platform))
230230
tools_to_download = load_tools_list(current_dir + '/../package/package_esp32_index.template.json', identified_platform)
231-
is_test = (sys.argv[1] == '-h')
231+
is_test = (len(sys.argv) > 1 and sys.argv[1] == '-h')
232232
mkdir_p(dist_dir)
233233
for tool in tools_to_download:
234234
if is_test:

0 commit comments

Comments
 (0)