Commit cb873c5b authored by Amrita Deb's avatar Amrita Deb
Browse files

Merge branch 'rohlfing-patch-preparemoodleupload' into 'master'

Bugfix preparemoodle

See merge request !43
parents 19234308 8307510f
Pipeline #460849 passed with stages
in 3 minutes and 51 seconds
......@@ -193,9 +193,8 @@ def main(args):
size_limit = int(args.moodleuploadlimit) # Moodle upload size limit in MiB
# Check folders
zip_dir= outzip.rsplit('/',1)[0]
if not os.path.exists(zip_dir):
zip_dir, _ = os.path.split(outzip)
if zip_dir and not os.path.exists(zip_dir):
os.makedirs(zip_dir)
# Print status
......
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