Skip to content

Commit 17e9131

Browse files
authored
Merge pull request #3574 from c1728p9/fix_invalid_assert
Fix invalid assert in exporters
2 parents 0ea544f + 06ca004 commit 17e9131

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/export/exporters.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ def make_key(self, src):
132132
"""
133133
rel_path = relpath(src, self.resources.file_basepath[src])
134134
path_list = os.path.normpath(rel_path).split(os.sep)
135-
assert path_list >= 1
135+
assert len(path_list) >= 1
136136
if len(path_list) == 1:
137137
key = self.project_name
138138
else:

0 commit comments

Comments
 (0)