summaryrefslogtreecommitdiff
path: root/progress.py
diff options
context:
space:
mode:
authorMegaMech <MegaMech@users.noreply.github.com>2023-04-04 19:19:22 -0600
committerGitHub <noreply@github.com>2023-04-04 19:19:22 -0600
commit0b7ad56ad9a83236b3acc6202b7a568ed19a5242 (patch)
tree70df2e204eb94acd9532e4c6a9f61528fe0276b9 /progress.py
parent6b4d71e66c23279d7ccb4f187a0c989be9f0d2d6 (diff)
Disclude credits.c from progress.py (#299)
Diffstat (limited to 'progress.py')
-rw-r--r--progress.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/progress.py b/progress.py
index 7c3f7d3cd..45753c7b1 100644
--- a/progress.py
+++ b/progress.py
@@ -20,6 +20,10 @@ def GetNonMatchingFunctions(files):
functions = []
for file in files:
+ # credits.c contains Japanese characters which are not supported by utf-8
+ # To prevent errors it cannot be included.
+ if (file == "src/credits.c"):
+ continue
with open(file) as f:
functions += re.findall(NON_MATCHING_PATTERN, f.read(), re.DOTALL)