Skip to content
Snippets Groups Projects
Commit c7128a20 authored by Simon Künzel's avatar Simon Künzel
Browse files

Fix date format explanation

parent 4931d602
No related branches found
No related tags found
No related merge requests found
Pipeline #8004 passed
Pipeline: backend

#8005

    ......@@ -161,8 +161,8 @@ def _sort_file(session: SessionDb, own_job_id: int, db_path: str, on_transaction
    _STANDARD_FORMAT_EXPLANATION = ("The file's name must have the following format: "
    "'<course handle>.<lecture date>.optional_tag.mp4' where the date is "
    "YYYYMMDD, there is an optional tag and the file ending is arbitrary. No tag is "
    "equivalent to an empty tag. Example: '24ss-malo.20240730.1080p.mp4'")
    "YYMMDD, there is an optional tag and the file ending is arbitrary. No tag is "
    "equivalent to an empty tag. Example: '24ss-malo.240624.mp4', '24ss-malo.240730.1080p.mp4'")
    parts = file.name.split(".")
    if len(parts) not in [3, 4]:
    ......
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Please register or to comment