Make sure original_folder isn't empty

fix #3747
This commit is contained in:
Ruud
2014-09-19 00:15:40 +02:00
parent 2f0e197320
commit 98540f2fcd
2 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -694,7 +694,7 @@ class Scanner(Plugin):
def removeCPTag(self, name):
try:
return re.sub(self.cp_imdb, '', name)
return re.sub(self.cp_imdb, '', name).strip()
except:
pass
return name