We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e558cd3 commit 5985a8dCopy full SHA for 5985a8d
code_counter/core/countable/iterator.py
@@ -31,7 +31,8 @@ def __search(self, input_path):
31
file_path = os.path.join(input_path, file)
32
self._file_queue.append(CountableFile(file_path))
33
elif os.path.isfile(input_path):
34
- if (suffix := os.path.splitext(input_path)[1]) and len(suffix) > 0 and suffix[1:] in self._suffix:
+ suffix = os.path.splitext(input_path)[1]
35
+ if len(suffix) > 0 and suffix[1:] in self._suffix:
36
self._file_queue.append(CountableFile(input_path))
37
38
def __iter__(self):
0 commit comments