mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix regression that broke reading covers from CBR files
This commit is contained in:
parent
9eb7e3d53f
commit
3e410d370b
@ -239,7 +239,7 @@ def _extract_member(path, match, name):
|
||||
PFCode = _libunrar.RARProcessFileW(arc_data, RAR_EXTRACT, None, None)
|
||||
if PFCode != 0:
|
||||
raise UnRARException(_interpret_process_file_error(PFCode))
|
||||
abspath = os.path.abspath(*file_name.split('/'))
|
||||
abspath = os.path.abspath(os.path.join(*file_name.split('/')))
|
||||
return abspath
|
||||
else:
|
||||
PFCode = _libunrar.RARProcessFileW(arc_data, RAR_SKIP, None, None)
|
||||
|
Loading…
x
Reference in New Issue
Block a user