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 3bfafd7 commit 316ebeaCopy full SHA for 316ebea
counts.py
@@ -17,7 +17,7 @@ def get_counts(dir: Path) -> tuple[int, int]:
17
for root, dirs, files in dir.walk():
18
for file in files:
19
if file.endswith('.pot'):
20
- pot = root.joinpath(root, file)
+ pot = root.joinpath(file)
21
strings, words = _count(pot.read_text())
22
total_string_count += strings
23
total_word_count += words
0 commit comments