Skip to content

Commit be94f33

Browse files
committed
Add string count information, generate.py
1 parent 1ed065b commit be94f33

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

generate.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
import contribute
1717
from completion import branches_from_devguide, get_completion, TranslatorsData
1818
from repositories import Language, get_languages_and_repos
19-
from word_count import get_word_count
19+
from word_count import get_counts
2020

2121
generation_time = datetime.now(timezone.utc)
2222

@@ -99,7 +99,7 @@ class LanguageProjectData:
9999
completion_progress=(completion_progress := list(get_completion_progress())),
100100
generation_time=generation_time,
101101
duration=(datetime.now(timezone.utc) - generation_time).seconds,
102-
word_count=get_word_count(Path('clones', 'cpython', 'Doc', 'build', 'gettext')),
102+
counts=get_counts(Path('clones', 'cpython', 'Doc', 'build', 'gettext')),
103103
)
104104

105105
Path('index.html').write_text(output)

0 commit comments

Comments
 (0)