|
@@ -28,7 +28,7 @@ def main():
|
|
|
data = {'data': []}
|
|
|
if os.path.exists(options.datafile):
|
|
|
try:
|
|
|
- with open(options.datafile) as f:
|
|
|
+ with open(options.datafile, encoding='utf-8') as f:
|
|
|
datayml = yaml.safe_load(f)
|
|
|
if datayml is not None:
|
|
|
for section in datayml:
|