mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix #5983 (Problem with localized versions with non-ascii characters in default paths)
This commit is contained in:
parent
ae1446a91d
commit
d96204698a
@ -56,6 +56,8 @@ def init_qt(args):
|
||||
|
||||
def get_default_library_path():
|
||||
fname = _('Calibre Library')
|
||||
if iswindows:
|
||||
fname = 'Calibre Library'
|
||||
if isinstance(fname, unicode):
|
||||
try:
|
||||
fname = fname.encode(filesystem_encoding)
|
||||
|
Loading…
x
Reference in New Issue
Block a user