Changeset 1533

Show
Ignore:
Timestamp:
10/21/08 09:32:12 (3 months ago)
Author:
astormont
Message:

Fixing #839

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • wine-doors/trunk/src/utils.py

    r1522 r1533  
    4141    if use_proxy: 
    4242        host = gconf_client.get_string("/system/http_proxy/host") 
    43         port = gconf_client.get_string("/system/http_proxy/port") 
     43        port = gconf_client.get_int("/system/http_proxy/port") 
    4444        if len(str(host)) > 1: 
    45             return host + ":" + port 
     45            return "http://%s:%i" % ( host, port ) 
    4646    return False 
    4747