mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-08 01:18:39 +00:00
Fix _on_send_info
This commit is contained in:
parent
da1b4c68df
commit
c5a7abe5d2
1 changed files with 3 additions and 2 deletions
|
@ -813,7 +813,7 @@ class Core(
|
||||||
self.settings.dont_count_slow_torrents = value
|
self.settings.dont_count_slow_torrents = value
|
||||||
self.session.set_settings(self.settings)
|
self.session.set_settings(self.settings)
|
||||||
|
|
||||||
def _on_send_info(self):
|
def _on_send_info(self, key, value):
|
||||||
log.debug("Sending anonymous stats..")
|
log.debug("Sending anonymous stats..")
|
||||||
"""sends anonymous stats home"""
|
"""sends anonymous stats home"""
|
||||||
class Send_Info_Thread(threading.Thread):
|
class Send_Info_Thread(threading.Thread):
|
||||||
|
@ -839,4 +839,5 @@ class Core(
|
||||||
log.debug("Network error while trying to send info: %s", e)
|
log.debug("Network error while trying to send info: %s", e)
|
||||||
else:
|
else:
|
||||||
self.config["info_sent"] = now
|
self.config["info_sent"] = now
|
||||||
Send_Info_Thread(self.config).start()
|
if value:
|
||||||
|
Send_Info_Thread(self.config).start()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue