1
0

Added SOCKS support, with cmdline and SimpleConfig options

This commit is contained in:
bkkcoins
2012-09-19 17:37:20 +07:00
parent af3fe1722b
commit aa6f631f2e
4 changed files with 48 additions and 15 deletions

View File

@@ -3,7 +3,7 @@ import os
from util import user_dir
class SimpleConfig:
default_options = {"gui": "lite"}
default_options = {"gui": "lite", "proxy": { "mode": "off", "host":"localhost", "port":"8080" } }
def set_key(self, key, value, save = True):
self.config[key] = value