Skip to content

Commit

Permalink
Oprava načítání souborů pod Windows.
Browse files Browse the repository at this point in the history
  • Loading branch information
EliskaPy authored and messa committed Jun 23, 2018
1 parent 0746416 commit ce63b27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyworking_cz/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def _load_event(event_path):
Load event data from YAML file
'''
try:
data = yaml.load(event_path.read_text())['event']
data = yaml.load(event_path.read_text(encoding='utf-8'))['event']
return {
'title': data['title'],
'location': data.get('location'),
Expand Down

0 comments on commit ce63b27

Please sign in to comment.