mirror of
https://github.com/moparisthebest/SickRage
synced 2025-01-07 11:58:01 -05:00
Merge pull request #586 from HakShak/dev
Fixed infinite loop in lib/rtorrent
This commit is contained in:
commit
3bca5d937e
@ -216,7 +216,7 @@ class RTorrent:
|
|||||||
while i < MAX_RETRIES:
|
while i < MAX_RETRIES:
|
||||||
for torrent in self.get_torrents():
|
for torrent in self.get_torrents():
|
||||||
if torrent.info_hash != info_hash:
|
if torrent.info_hash != info_hash:
|
||||||
break
|
continue
|
||||||
time.sleep(1)
|
time.sleep(1)
|
||||||
i += 1
|
i += 1
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user