Fixed bug where it didnt do anything...

This commit is contained in:
mano3m committed 2013-10-16 22:17:19 +02:00
1 parent c12b189f5f
commit eb17afc368
2 files changed
+6 -4

No files matched your search

+3 -3
View File
@@ -721,9 +721,6 @@ Remove it if you want it to be renamed (again, or at least let it try again)
self.tagDir(release_download['folder'], 'downloading')
elif release_download['status'] == 'seeding':
# Set the release to seeding
fireEvent('release.update_status', rel.id, status = seeding_status, single = True)
#If linking setting is enabled, process release
if self.conf('file_action') != 'move' and not rel.status_id == seeding_status.get('id') and self.statusInfoComplete(release_download):
log.info('Download of %s completed! It is now being processed while leaving the original files alone for seeding. Current ratio: %s.', (release_download['name'], release_download['seed_ratio']))
@@ -738,6 +735,9 @@ Remove it if you want it to be renamed (again, or at least let it try again)
#let it seed
log.debug('%s is seeding with ratio: %s', (release_download['name'], release_download['seed_ratio']))
# Set the release to seeding
fireEvent('release.update_status', rel.id, status = seeding_status, single = True)
elif release_download['status'] == 'failed':
# Set the release to failed
fireEvent('release.update_status', rel.id, status = failed_status, single = True)