sandbox1
inpos 2016-03-12 15:12:48 +03:00
parent 6b43a7f208
commit 2bd36fa5c9
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ def config():
pac_data = urllib2.urlopen(PAC_URL).read() pac_data = urllib2.urlopen(PAC_URL).read()
except: except:
pac_data = "" pac_data = ""
log("[antizapret]: +++++++++++ pac_data %s" % (repr(pac_data),))
r = re.search(r"\"PROXY (.*); DIRECT", pac_data) r = re.search(r"\"PROXY (.*); DIRECT", pac_data)
if r: if r:
pac_config["server"] = r.group(1) pac_config["server"] = r.group(1)