diff options
author | Marcos Pinto <markybob@dipconsultants.com> | 2008-02-13 09:47:34 +0000 |
---|---|---|
committer | Marcos Pinto <markybob@dipconsultants.com> | 2008-02-13 09:47:34 +0000 |
commit | 3e2f8020bbf2e78e231cd0ab99d0d5c5ee7d9a42 (patch) | |
tree | f3f0eda5d5e02f6aa9d35a42a999d5fb1ce31679 | |
parent | bab5b518ab8a9cd97bde2753e700e0eef1c00184 (diff) | |
download | deluge-3e2f8020bbf2e78e231cd0ab99d0d5c5ee7d9a42.tar.gz deluge-3e2f8020bbf2e78e231cd0ab99d0d5c5ee7d9a42.tar.bz2 deluge-3e2f8020bbf2e78e231cd0ab99d0d5c5ee7d9a42.zip |
add enabled plugins to send info
-rw-r--r-- | src/common.py | 4 | ||||
-rw-r--r-- | src/interface.py | 2 |
2 files changed, 3 insertions, 3 deletions
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') |