diff --git a/setup.py b/setup.py index 629c9db7d..15ae84472 100644 --- a/setup.py +++ b/setup.py @@ -28,7 +28,7 @@ NAME = "deluge" FULLNAME = "Deluge BitTorrent Client" -VERSION = "0.5.9.2" +VERSION = "0.5.9.3" AUTHOR = "Zach Tibbitts, Alon Zakai, Marcos Pinto, Andrew Resch, Alex Dedul" EMAIL = "zach@collegegeek.org, kripkensteiner@gmail.com, marcospinto@dipconsultants.com, alonzakai@gmail.com, rotmer@gmail.com" DESCRIPTION = "A GTK BitTorrent client written in Python and C++" diff --git a/src/common.py b/src/common.py index 24267785f..cd4d7ce53 100644 --- a/src/common.py +++ b/src/common.py @@ -32,7 +32,7 @@ import os import xdg.BaseDirectory PROGRAM_NAME = "Deluge" -PROGRAM_VERSION = "0.5.9.2" +PROGRAM_VERSION = "0.5.9.3" CLIENT_CODE = "DE" CLIENT_VERSION = "".join(PROGRAM_VERSION.split('.'))+"0"*(4 - len(PROGRAM_VERSION.split('.'))) @@ -213,7 +213,7 @@ def exec_command(executable, *parameters): def send_info(plugins=None): import threading class Send_Info_Thread(threading.Thread): - def __init__(self): + def __init__(self, plugins): threading.Thread.__init__(self) def run(self): import urllib @@ -223,7 +223,6 @@ def send_info(plugins=None): import common pygtk = '%i.%i.%i' %(gtk.pygtk_version[0],gtk.pygtk_version[1],gtk.pygtk_version[2]) - try: url = "http://deluge-torrent.org/stats_get.php?processor=" + \ platform.machine() + "&python=" + platform.python_version() \ @@ -237,7 +236,7 @@ def send_info(plugins=None): f = open(os.path.join(CONFIG_DIR, 'infosent'), 'w') f.write("") f.close - Send_Info_Thread().start() + Send_Info_Thread(plugins).start() # Encryption States class EncState: