Skip to content
Permalink
Browse files
Fix the publication list plugin
  • Loading branch information
ivanteoh committed Mar 8, 2017
1 parent cf242ac commit e364ac9567a102f98c9ec10be087242686616d84
Showing with 2 additions and 2 deletions.
  1. 0 {tests_disabled → tests}/test_publication_list.py
  2. +2 −2 v7/publication_list/publication_list.py
File renamed without changes.
@@ -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

0 comments on commit e364ac9

Please sign in to comment.