mirror of
https://github.com/SickGear/SickGear.git
synced 2024-12-02 17:33:37 +00:00
Merge pull request #586 from HakShak/dev
Fixed infinite loop in lib/rtorrent
This commit is contained in:
commit
3bca5d937e
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue