Skip to content
Snippets Groups Projects
Commit 71d3f856 authored by Laurent Heirendt's avatar Laurent Heirendt :airplane:
Browse files

fix rootDir

parent dd3a142c
No related branches found
No related tags found
No related merge requests found
......@@ -18,7 +18,7 @@ def main(date, name):
mainDir = date[:4]
# get the root directory
rootDir = os.path.dirname(os.path.realpath(__file__))
rootDir = os.getcwd()
# generate the full name of the presentation
fullName = date + "_" + name
......@@ -31,6 +31,7 @@ def main(date, name):
click.echo(' > Date: {0}' . format(date))
click.echo(' > Name: {0}' . format(name))
click.echo(' > Directory: {0}' . format(fullPath))
click.echo(' > Root directory: {0}' . format(rootDir))
# create the directory
if not os.path.exists(fullPath):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment