File tree Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Original file line number Diff line number Diff line change 1
1
v0.14:
2
2
3
+ o Fix NZB archives containing their own NZB file (with the same name)
4
+ hanging hellanzb
5
+
3
6
o Quiet warnings on Python 2.6.
4
7
5
8
o Now strips whitespace from NZB data, fixes slow downloads on some
@@ -19,7 +22,7 @@ o Fixed defunct post processor processes on Solaris (Thanks andy at
19
22
stormsail)
20
23
21
24
o Fixed a stall towards the end of a download situation when using
22
- multiple servers pools:
25
+ multiple servers pools:
23
26
24
27
When one server pool couldn't establish any connections to the server
25
28
and had queued segments particular to that pool (either during
Original file line number Diff line number Diff line change @@ -353,9 +353,13 @@ def handleNZBDone(nzb):
353
353
move (Hellanzb .WORKING_DIR , processingDir )
354
354
nzb .destDir = processingDir
355
355
nzb .archiveDir = processingDir
356
-
357
- move (nzb .nzbFileName , processingDir )
358
- nzb .nzbFileName = os .path .join (processingDir , nzb .nzbFileName )
356
+
357
+ nzbFileName = os .path .join (processingDir , os .path .basename (nzb .nzbFileName ))
358
+ # We may have downloaded an NZB file of the same name:
359
+ # http://hellanzb.com/trac/hellanzb/ticket/425
360
+ hellaRename (nzbFileName )
361
+ move (nzb .nzbFileName , nzbFileName )
362
+ nzb .nzbFileName = nzbFileName
359
363
360
364
os .mkdir (Hellanzb .WORKING_DIR )
361
365
You can’t perform that action at this time.
0 commit comments