Fix torrents being added in wrong paused/active state on state load.
This should fix #27.
This commit is contained in:
parent
a65251807b
commit
ba6018f3f3
@ -451,7 +451,7 @@ class TorrentManager(component.Component):
|
|||||||
|
|
||||||
# Resume any torrents that need to be resumed
|
# Resume any torrents that need to be resumed
|
||||||
for key in add_paused.keys():
|
for key in add_paused.keys():
|
||||||
if add_paused[key] == True:
|
if add_paused[key] == False:
|
||||||
self.torrents[key].handle.resume()
|
self.torrents[key].handle.resume()
|
||||||
|
|
||||||
def save_state(self):
|
def save_state(self):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user