Fix charmap error when using tilda_tools on windows
parent
1155953462
commit
f3e3c98211
|
@ -141,7 +141,6 @@ def add_metadata(path, resources):
|
||||||
|
|
||||||
if file:
|
if file:
|
||||||
try:
|
try:
|
||||||
print(os.path.join(path, file))
|
|
||||||
with open(os.path.join(path, file), "r", encoding='utf8') as stream:
|
with open(os.path.join(path, file), "r", encoding='utf8') as stream:
|
||||||
resource.update(_normalize_metadata(read_metadata(stream)))
|
resource.update(_normalize_metadata(read_metadata(stream)))
|
||||||
except ParseException as e:
|
except ParseException as e:
|
||||||
|
|
Loading…
Reference in New Issue