Browse Source

Do not warn about disk-errors when job is deleted/done

Only happens in really fast situations with many server connections for small downloads completed within 1 or 2 seconds.
pull/1076/head
Safihre 8 years ago
parent
commit
f4568ad7dd
  1. 2
      sabnzbd/assembler.py

2
sabnzbd/assembler.py

@ -98,7 +98,7 @@ class Assembler(Thread):
filepath = self.assemble(nzf, filepath)
except IOError, (errno, strerror):
# If job was deleted or in active post-processing, ignore error
if not nzo.is_gone() and not nzo.pp_active:
if not nzo.deleted and not nzo.is_gone() and not nzo.pp_active:
# 28 == disk full => pause downloader
if errno == 28:
logging.error(T('Disk full! Forcing Pause'))

Loading…
Cancel
Save