Commit 601cf9bd authored by Hans-Peter Deifel's avatar Hans-Peter Deifel
Browse files

Add another "Übung"-suffix

namely " Übung" as seen in the lecture "BWL für Ingenieure Übung"

fixes #289
parent bf07427b
......@@ -93,7 +93,7 @@ def readMeta(pdf, isFileName=True):
meta['lecture'] = meta['lecture'][len(x):]
# remove known suffixes
for x in [u" - Übung"]:
for x in [u" - Übung", u" Übung"]:
if meta['lecture'].endswith(x):
meta['lecture'] = meta['lecture'][:-len(x)]
return meta
Supports Markdown
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