Skip to content

Commit

Permalink
Pause job in case of failing imports
Browse files Browse the repository at this point in the history
Linked #1034
  • Loading branch information
Safihre committed Sep 19, 2017
1 parent 7b7aaaf commit 248f2da
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sabnzbd/nzbstuff.py
Original file line number Diff line number Diff line change
Expand Up @@ -1461,6 +1461,7 @@ def get_article(self, server, servers):
if not nzf.import_finished and not self.is_gone():
logging.error(T('Error importing %s'), nzf)
nzf_remove_list.append(nzf)
nzf.nzo.pause()
continue
else:
continue
Expand Down

0 comments on commit 248f2da

Please sign in to comment.