mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-02-26 21:15:50 +01:00
Fix #1153859 (Private bug)
This commit is contained in:
parent
55095edfe3
commit
0c4e900179
2 changed files with 3 additions and 1 deletions
|
|
@ -679,7 +679,7 @@ def __init__(self, input, output, log, report_progress=DummyReporter(),
|
|||
self.archive_input_tdir = None
|
||||
if input_fmt in ARCHIVE_FMTS:
|
||||
self.log('Processing archive...')
|
||||
tdir = PersistentTemporaryDirectory('_plumber_archive')
|
||||
tdir = PersistentTemporaryDirectory('_pl_arc')
|
||||
self.input, input_fmt = self.unarchive(self.input, tdir)
|
||||
self.archive_input_tdir = tdir
|
||||
if os.access(self.input, os.R_OK):
|
||||
|
|
|
|||
|
|
@ -30,6 +30,8 @@ def remove_dir(x):
|
|||
pass
|
||||
|
||||
def app_prefix(prefix):
|
||||
if iswindows:
|
||||
return '%s_'%__appname__
|
||||
return '%s_%s_%s'%(__appname__, __version__, prefix)
|
||||
|
||||
def base_dir():
|
||||
|
|
|
|||
Loading…
Reference in a new issue