Fix bugs:
* Can't create categories and tags * Recursively create directories
This commit is contained in:
@@ -446,7 +446,7 @@ class Index(DynastieGenerator):
|
||||
return None
|
||||
|
||||
if directory and not os.path.exists(output + '/' + directory):
|
||||
os.mkdir(output + '/' + directory)
|
||||
os.makedirs(output + '/' + directory)
|
||||
|
||||
if not parsePostsTag: return dom
|
||||
|
||||
|
||||
Reference in New Issue
Block a user