This commit is contained in:
Kovid Goyal 2021-08-31 09:08:01 +05:30
parent c6b037301d
commit a0fc2f200f
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -172,7 +172,7 @@ def path_from_qurl(qurl, allow_remote=False):
from calibre_extensions.winutil import get_long_path_name
with suppress(OSError):
lf = get_long_path_name(lf)
lf = make_long_path_useable(lf)
lf = make_long_path_useable(lf)
return lf
if not allow_remote:
return ''