Skip to content
Snippets Groups Projects
Commit 314469fd authored by Paweł Szostek's avatar Paweł Szostek
Browse files

Fix typo

parent 149a27b5
No related merge requests found
No preview for this file type
......@@ -226,8 +226,8 @@ class HdlmakeKernel(object):
dir = os.listdir(directory)
tcls = []
for file in dir:
file = file.split('.')
if file[len(file)-1] == "tcl"
file_parts = file.split('.')
if file_parts[len(file_parts)-1] == "tcl":
tcls.append(file)
if len(tcls) == 0:
return None
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment