last _ is .
This commit is contained in:
parent
cf1aef1611
commit
cb6e055668
1 changed files with 2 additions and 0 deletions
|
|
@ -26,6 +26,8 @@ def oxdb_filenameUmlaute(string):
|
||||||
|
|
||||||
def oxdb_director(director):
|
def oxdb_director(director):
|
||||||
director = os.path.basename(os.path.dirname(director))
|
director = os.path.basename(os.path.dirname(director))
|
||||||
|
if director.endswith('_'):
|
||||||
|
director = "%s." % director[-1]
|
||||||
director = ", ".join([normalizeName(d) for d in director.split('; ')])
|
director = ", ".join([normalizeName(d) for d in director.split('; ')])
|
||||||
director = director.replace('Unknown Director', '')
|
director = director.replace('Unknown Director', '')
|
||||||
director = director.replace('Series', '')
|
director = director.replace('Series', '')
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue