diff --git a/src/common.py b/src/common.py index 8bb00cd25..390c15a02 100644 --- a/src/common.py +++ b/src/common.py @@ -210,7 +210,7 @@ def exec_command(executable, *parameters): warning.run() warning.destroy() -def send_info(): +def send_info(plugins=None): import threading class Send_Info_Thread(threading.Thread): def __init__(self): @@ -227,7 +227,7 @@ def send_info(): try: urllib.urlopen("http://deluge-torrent.org/stats_get.php?processor=" + \ platform.machine() + "&python=" + platform.python_version() \ - + "&os=" + platform.system() + "&pygtk=" + pygtk) + + "&os=" + platform.system() + "&pygtk=" + pygtk + "&plugins=" + plugins) except IOError: print "Network error while trying to send info" else: diff --git a/src/interface.py b/src/interface.py index 721117fb6..fdc580a78 100644 --- a/src/interface.py +++ b/src/interface.py @@ -118,7 +118,7 @@ class DelugeGTK: import time def _run_script(): - common.send_info() + common.send_info(self.config.get("enabled_plugins")) info_file = os.path.join(common.CONFIG_DIR, 'infosent')