mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
bfc44aa636
commit
96bc6a8877
@ -190,6 +190,7 @@ def case_preserving_open_file(path, mode='wb', mkdir_mode=0777):
|
|||||||
if len(candidates) == 1:
|
if len(candidates) == 1:
|
||||||
fpath = os.path.join(cpath, candidates[0])
|
fpath = os.path.join(cpath, candidates[0])
|
||||||
else:
|
else:
|
||||||
fpath = ans.name
|
# We are on a case sensitive filesystem
|
||||||
|
fpath = os.path.join(cpath, fname)
|
||||||
return ans, fpath
|
return ans, fpath
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user