From 017e89aa956a2ecf2c2749db34280a67e46b5cbb Mon Sep 17 00:00:00 2001 From: dsyoon Date: Fri, 8 Jul 2022 11:01:30 +0900 Subject: [PATCH] init --- hts/HTS.py | 2 +- hts/Simulation.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hts/HTS.py b/hts/HTS.py index c80ae9d..474f759 100644 --- a/hts/HTS.py +++ b/hts/HTS.py @@ -431,7 +431,7 @@ class HTS: return def getCSV(self, fileName, given_day, result): - with open(fileName, 'r') as infp: + with open(fileName, 'r', encoding='utf-8') as infp: reader = csv.reader(infp) next(reader) diff --git a/hts/Simulation.py b/hts/Simulation.py index d467adb..421aabe 100644 --- a/hts/Simulation.py +++ b/hts/Simulation.py @@ -20,7 +20,7 @@ class Simulation: return def getCSV(self, fileName, given_day, result): - with open(fileName, 'r') as infp: + with open(fileName, 'r', encoding='utf-8') as infp: reader = csv.reader(infp) next(reader)