From 3e410d370b5daf99b33d28a3c6a95e2c4c2c04c1 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sat, 14 Aug 2010 15:30:33 -0600 Subject: [PATCH] Fix regression that broke reading covers from CBR files --- src/calibre/libunrar.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calibre/libunrar.py b/src/calibre/libunrar.py index 2f44dcdf4e..5dc66eaa36 100644 --- a/src/calibre/libunrar.py +++ b/src/calibre/libunrar.py @@ -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)