Commit 8307510f authored by Christian Rohlfing's avatar Christian Rohlfing
Browse files

bugfix in output folder creation for zip

parent 511af5b9
Pipeline #460259 passed with stage
in 1 minute and 59 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):
# 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