exfat has issues with more stuff
This commit is contained in:
parent
0266b015f1
commit
3dd7569d1f
1 changed files with 1 additions and 1 deletions
|
@ -730,7 +730,7 @@ class File(db.Model):
|
||||||
|
|
||||||
def move(self):
|
def move(self):
|
||||||
def format_underscores(string):
|
def format_underscores(string):
|
||||||
return re.sub(r'^\.|\.$|:|/|\?|<|>', '_', string)
|
return re.sub(r'^\.|\.$|:|/|\?|<|>|\\|\*', '_', string)
|
||||||
prefs = settings.preferences
|
prefs = settings.preferences
|
||||||
prefix = os.sep.join(os.path.join(os.path.expanduser(prefs['libraryPath']), 'Books/').split('/'))
|
prefix = os.sep.join(os.path.join(os.path.expanduser(prefs['libraryPath']), 'Books/').split('/'))
|
||||||
if not self.item:
|
if not self.item:
|
||||||
|
|
Loading…
Reference in a new issue