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:
|
||||
fpath = os.path.join(cpath, candidates[0])
|
||||
else:
|
||||
fpath = ans.name
|
||||
# We are on a case sensitive filesystem
|
||||
fpath = os.path.join(cpath, fname)
|
||||
return ans, fpath
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user