Skip to content

Commit

Permalink
Hotfix for 0.5.4: suppress warnings about unsafe YAML loading
Browse files Browse the repository at this point in the history
  • Loading branch information
jimporter committed Nov 8, 2020
1 parent 9af197d commit 64807ea
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Changes

## v0.5.4 (2020-11-08)
## v0.5.5 (2020-11-08)

- Add support for `mkdocs.yml` files using `!!python` tags

Expand Down
2 changes: 1 addition & 1 deletion mike/app_version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
version = '0.6.0.dev0'
version = '0.5.5'
2 changes: 1 addition & 1 deletion mike/mkdocs.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

def site_dir(config_file):
with open(config_file) as f:
config = yaml.load(f)
config = yaml.load(f, Loader=yaml.Loader)
site = config.get('site_dir', 'site')
return os.path.join(os.path.dirname(config_file), site)

Expand Down

0 comments on commit 64807ea

Please sign in to comment.