normalize paths in videonode building

This commit is contained in:
Marcel van der Veldt 2015-08-03 01:52:47 +02:00
parent c3e2d88784
commit a7310dc634
2 changed files with 27 additions and 24 deletions

View file

@ -199,6 +199,8 @@ def normalize_string(text):
text = text.replace("*", "")
text = text.replace("?", "")
text = text.replace('|', "")
text = text.replace('(', "")
text = text.replace(')', "")
text = text.strip()
# Remove dots from the last character as windows can not have directories
# with dots at the end