Skip to content

Commit

Permalink
Fix creation of necessary directories on "plugins hook"
Browse files Browse the repository at this point in the history
  • Loading branch information
skaman committed Feb 18, 2012
1 parent 0384af8 commit a658ea8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions plugin/httpserver.py
Expand Up @@ -58,6 +58,7 @@ def buildRootTree(session):
if fileExists(origwebifpath + cleanupfile):
os.remove(origwebifpath + cleanupfile)

os.makedirs(origwebifpath + "/WebChilds/External")
open(origwebifpath + "/__init__.py", "w")
open(origwebifpath + "/WebChilds/__init__.py", "w")
open(origwebifpath + "/WebChilds/External/__init__.py", "w")
Expand Down

0 comments on commit a658ea8

Please sign in to comment.