Skip to content

Commit

Permalink
fix(assets): mkdir should only create base path without filename
Browse files Browse the repository at this point in the history
Fix #12
  • Loading branch information
gcushen committed Nov 20, 2018
1 parent 840fb68 commit 3c392c2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion academic/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
__version__ = '0.2.4'
__version__ = '0.2.5'
__author__ = 'George Cushen'
4 changes: 2 additions & 2 deletions academic/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -259,8 +259,8 @@ def import_assets():
return

# Create output dirs if necessary
Path(JS_FILENAME).mkdir(parents=True, exist_ok=True)
Path(CSS_FILENAME).mkdir(parents=True, exist_ok=True)
Path(JS_FILENAME).parent.mkdir(parents=True, exist_ok=True)
Path(CSS_FILENAME).parent.mkdir(parents=True, exist_ok=True)

# Parse TOML file which lists assets
parsed_toml = toml.load(assets_filename)
Expand Down

0 comments on commit 3c392c2

Please sign in to comment.