Verified Commit 8304e2e0 authored by Laurent Heirendt's avatar Laurent Heirendt
Browse files

fix for non-existing folder

parent 0c7f0c9c
......@@ -20,6 +20,10 @@ def main(date, name):
# get the root directory
rootDir = os.getcwd()
# create a root directory if not existing
if not os.path.exists(mainDir):
os.mkdir(mainDir)
# generate the full name of the presentation
fullName = date + "_" + name
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment