mirror of
https://github.com/Garmelon/PFERD.git
synced 2023-12-21 10:23:01 +01:00
Clean up Prog slide names
This commit is contained in:
parent
8b1a34233a
commit
9a4ab645dc
@ -130,7 +130,15 @@ def prog_transform(path):
|
||||
|
||||
# Folien in Folien/*
|
||||
new_path = PFERD.move(path, ("Vorlesungsmaterial",), ("Folien",))
|
||||
if new_path is not None: return new_path
|
||||
if new_path is not None:
|
||||
if new_path.name == "00.1_Begruessung.pdf":
|
||||
return PFERD.rename(new_path, "00-01_Begruessung.pdf")
|
||||
if new_path.name == "00.2_Organisatorisches.pdf":
|
||||
return PFERD.rename(new_path, "00-02_Organisatorisches.pdf")
|
||||
if new_path.name == "01-01_ Einfache-Programme.pdf":
|
||||
return PFERD.rename(new_path, "01-01_Einfache_Programme.pdf")
|
||||
|
||||
return new_path
|
||||
|
||||
return path
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user