From 75f30e339d7a9ebe50e08362c5044e7fc7a8718e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A1s=20Retzler?= Date: Mon, 18 Sep 2017 09:09:15 +0200 Subject: [PATCH] Fix ipv6 problem --- sdrhu.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdrhu.py b/sdrhu.py index 5f8553d..dfca1b7 100755 --- a/sdrhu.py +++ b/sdrhu.py @@ -26,7 +26,7 @@ def run(continuously=True): if not cfg.sdrhu_key: return firsttime="(Your receiver is soon getting listed on sdr.hu!)" while True: - cmd = "wget --timeout=15 -qO- http://sdr.hu/update --post-data \"url=http://"+cfg.server_hostname+":"+str(cfg.web_port)+"&apikey="+cfg.sdrhu_key+"\" 2>&1" + cmd = "wget --timeout=15 -4qO- http://sdr.hu/update --post-data \"url=http://"+cfg.server_hostname+":"+str(cfg.web_port)+"&apikey="+cfg.sdrhu_key+"\" 2>&1" #print "[openwebrx-sdrhu]", cmd returned=subprocess.Popen(cmd, shell=True, stdout=subprocess.PIPE).communicate() returned=returned[0]