Skip to content

Commit

Permalink
Fix the publication list plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanteoh committed Mar 8, 2017
1 parent cf242ac commit e364ac9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
File renamed without changes.
4 changes: 2 additions & 2 deletions v7/publication_list/publication_list.py
Expand Up @@ -104,13 +104,13 @@ def run(self):

if bibtex_dir: # create the bibtex dir if the option is set
try:
os.mkdir(os.path.sep.join((self.output_folder, bibtex_dir)))
os.makedirs(os.path.sep.join((self.output_folder, bibtex_dir)))
except OSError: # probably because the dir already exists
pass

if detail_page_dir: # create the detail page dir if the option is set
try:
os.mkdir(os.path.sep.join((self.output_folder, detail_page_dir)))
os.makedirs(os.path.sep.join((self.output_folder, detail_page_dir)))
except OSError: # probably because the dir already exists
pass

Expand Down

0 comments on commit e364ac9

Please sign in to comment.