exfat has issues with more stuff

This commit is contained in:
j 2016-11-13 21:17:04 +02:00
parent 0266b015f1
commit 3dd7569d1f
1 changed files with 1 additions and 1 deletions

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: