mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-08-05 08:40:13 -04:00
Kobo driver: Fix viewing of KEPUB files from the device view in calibre not working
This commit is contained in:
parent
7008725bb8
commit
1973cdb7d6
@ -762,7 +762,7 @@ class KOBO(USBMS):
|
|||||||
pass
|
pass
|
||||||
else:
|
else:
|
||||||
with open(outpath, 'rb') as src:
|
with open(outpath, 'rb') as src:
|
||||||
shutil.copyfile(src, outfile)
|
shutil.copyfileobj(src, outfile)
|
||||||
return
|
return
|
||||||
|
|
||||||
return USBMS.get_file(self, path, outfile, end_session=end_session)
|
return USBMS.get_file(self, path, outfile, end_session=end_session)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user