exfat has issues with more stuff

This commit is contained in:
j 2016-11-13 21:17:04 +02:00
parent 0266b015f1
commit 3dd7569d1f

View file

@ -730,7 +730,7 @@ class File(db.Model):
def move(self):
def format_underscores(string):
return re.sub(r'^\.|\.$|:|/|\?|<|>', '_', string)
return re.sub(r'^\.|\.$|:|/|\?|<|>|\\|\*', '_', string)
prefs = settings.preferences
prefix = os.sep.join(os.path.join(os.path.expanduser(prefs['libraryPath']), 'Books/').split('/'))
if not self.item: