1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-12-12 11:02:21 -05:00

remove default proxy setting, fix indent

This commit is contained in:
Peter Maciocia 2014-04-24 18:08:24 +01:00
parent 09b106ec6b
commit ddaa5bb5e6
2 changed files with 3 additions and 3 deletions

View File

@ -281,7 +281,7 @@
</label> </label>
<label class="nocheck clearfix"> <label class="nocheck clearfix">
<span class="component-title">&nbsp;</span> <span class="component-title">&nbsp;</span>
<span class="component-desc">Proxy to use for connecting to providers</b></span> <span class="component-desc">Proxy to use for connecting to providers. Leave empty to not use proxy</b></span>
</label> </label>
</div> </div>
<input type="submit" class="btn config_submitter" value="Save Changes" /> <input type="submit" class="btn config_submitter" value="Save Changes" />

View File

@ -542,7 +542,7 @@ def initialize(consoleLogging=True):
LOCALHOST_IP = check_setting_str(CFG, 'General', 'localhost_ip', '') LOCALHOST_IP = check_setting_str(CFG, 'General', 'localhost_ip', '')
ANON_REDIRECT = check_setting_str(CFG, 'General', 'anon_redirect', 'http://dereferer.org/?') ANON_REDIRECT = check_setting_str(CFG, 'General', 'anon_redirect', 'http://dereferer.org/?')
PROXY_SETTING = check_setting_str(CFG, 'General', 'proxy_setting', 'http://192.168.1.11:8118') PROXY_SETTING = check_setting_str(CFG, 'General', 'proxy_setting', '')
# attempt to help prevent users from breaking links by using a bad url # attempt to help prevent users from breaking links by using a bad url
if not ANON_REDIRECT.endswith('?'): if not ANON_REDIRECT.endswith('?'):
ANON_REDIRECT = '' ANON_REDIRECT = ''