Commit 85d0a548 authored by mitshel's avatar mitshel
Browse files

Merge pull request #4 from blacklion/patch-1

Use configured temporary path for FB2 book extraction.
parents 547176e7 7bf40a82
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -846,7 +846,7 @@ class opdsClient():
        elif cat_type==sopdsdb.CAT_ZIP:
           fz=codecs.open(full_path.encode("utf-8"), "rb")
           z = zipf.ZipFile(fz, 'r', allowZip64=True)
           z.extract(book_name,'/tmp')
           z.extract(book_name,self.cfg.TEMP_DIR)
           tmp_fb2_path=os.path.join(self.cfg.TEMP_DIR,book_name)
           file_path=tmp_fb2_path