8000 Add missing encoding and use a more descriptive filename · python/devguide@00f6d0d · GitHub
[go: up one dir, main page]

Skip to content

Commit 00f6d0d

Browse files
hugovkCAM-Gerlach
andauthored
Add missing encoding and use a more descriptive filename
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
1 parent 54c1e75 commit 00f6d0d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

generate-release-cycle.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@ class Versions:
6161
"""For converting JSON to CSV and Mermaid"""
6262

6363
def __init__(self) -> None:
64-
with open("include/release-cycle.json") as f:
65-
self.versions = json.load(f)
64+
with open("include/release-cycle.json", encoding="UTF-8") as in_file:
65+
self.versions = json.load(in_file)
6666

6767
def save_csv(self) -> None:
6868
"""Output CSV files"""

0 commit comments

Comments
 (0)
0