Skip to content

Commit

Permalink
Re #6101. Create output directory if it doesn't exist.
Browse files Browse the repository at this point in the history
  • Loading branch information
peterfpeterson committed Feb 27, 2013
1 parent 46a97ea commit fce7561
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Code/Mantid/docs/qtassistant/make_algorithms_help.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,9 @@ def process(algos, qhp, outputdir):
# where to put the generated files
helpsrcdir = os.path.dirname(os.path.abspath(__file__))
helpoutdir = os.path.join(helpsrcdir, OUTPUTDIR)
print helpoutdir
print "Writing results to '%s'" % helpsrcdir
if not os.path.exists(helpoutdir):
os.makedirs(helpoutdir)
addWikiDir(helpsrcdir)

# initialize mantid
Expand Down

0 comments on commit fce7561

Please sign in to comment.