mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-01 13:05:37 +02:00
Fix #683
This commit is contained in:
parent
e879779387
commit
dd3d69663b
1 changed files with 2 additions and 0 deletions
|
|
@ -725,6 +725,8 @@ def feed_index(num, parent):
|
|||
def article_downloaded(self, request, result):
|
||||
index = os.path.join(os.path.dirname(result[0]), 'index.html')
|
||||
if index != result[0]:
|
||||
if os.path.exists(index):
|
||||
os.remove(index)
|
||||
os.rename(result[0], index)
|
||||
a = request.requestID[1]
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue