Skip to content

Commit 80ce2ce

Browse files
authored
Merge pull request #143 from Tauhid-Ahmed8009/master
Update converter.py
2 parents e1fa196 + 5d85735 commit 80ce2ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

forex_python/converter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ def __init__(self):
124124
def _currency_data(self):
125125
if self.__currency_data is None:
126126
file_path = os.path.dirname(os.path.abspath(__file__))
127-
with open(file_path + '/raw_data/currencies.json') as f:
127+
with open(file_path + '/raw_data/currencies.json', encoding="utf-8") as f:
128128
self.__currency_data = json.loads(f.read())
129129
return self.__currency_data
130130

0 commit comments

Comments
 (0)