1
0
mirror of https://github.com/TREX-CoE/qmckl.git synced 2024-07-03 09:56:10 +02:00

Merge pull request #104 from haampie/patch-2

Use encoding in open
This commit is contained in:
Anthony Scemama 2023-02-14 13:33:39 +01:00 committed by GitHub
commit 4c27eb0078
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -73,7 +73,7 @@ def main():
TEXT[org] = text
HTML[org] = html
grep = open(org, "r").read()
grep = open(org, "r", encoding="utf-8").read()
if "(eval c)" in grep:
C_FILES += [c]