Commit 1d77308f authored by VIGNET Pierre's avatar VIGNET Pierre
Browse files

Fix broken track ip

parent 9bffa72e
......@@ -239,7 +239,6 @@ def analytics(params):
import re
from sys import platform
import json
import ssl
white_list = (
"subcommand", "model_file", "start_prop", "final_prop", "inv_prop",
......@@ -266,11 +265,10 @@ def analytics(params):
"ua": platform,
data = urlencode(data).encode("ascii")
context=ssl.SSLContext(ssl.PROTOCOL_SSLv23) # Disable certificate check
page = urlopen("", data=data).read()
m =".*URL=(.*)\">", page)
if m:
urlopen(, data=data)
def args_to_param(args):
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment