mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
c6b037301d
commit
a0fc2f200f
@ -172,7 +172,7 @@ def path_from_qurl(qurl, allow_remote=False):
|
|||||||
from calibre_extensions.winutil import get_long_path_name
|
from calibre_extensions.winutil import get_long_path_name
|
||||||
with suppress(OSError):
|
with suppress(OSError):
|
||||||
lf = get_long_path_name(lf)
|
lf = get_long_path_name(lf)
|
||||||
lf = make_long_path_useable(lf)
|
lf = make_long_path_useable(lf)
|
||||||
return lf
|
return lf
|
||||||
if not allow_remote:
|
if not allow_remote:
|
||||||
return ''
|
return ''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user