Skip to content

Commit

Permalink
Update from 21
Browse files Browse the repository at this point in the history
  • Loading branch information
Administrator committed Feb 21, 2022
1 parent baf53a2 commit 215935e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion materials/build/scripts/style_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def get_source_filenames():
files = os.listdir(PATH_TO_PROJECT + '/src')
arr_of_files = []
for file in files:
if file[file.find('.') + 1] == 'c':
if file.find('.') != -1 and file[file.find('.') + 1] == 'c':
arr_of_files.append(file)
return arr_of_files

Expand Down

0 comments on commit 215935e

Please sign in to comment.