From e817974bb366fa528288bb4c8c0f4676e05fa4ef Mon Sep 17 00:00:00 2001 From: f4exb Date: Thu, 14 Dec 2017 21:08:56 +0100 Subject: [PATCH] Web API: use the 8091 default port in all examples --- swagger/sdrangel/examples/add_channel.py | 2 +- swagger/sdrangel/examples/ptt.py | 2 +- swagger/sdrangel/examples/rtlsdr_settings.py | 2 +- swagger/sdrangel/examples/start_stop.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/swagger/sdrangel/examples/add_channel.py b/swagger/sdrangel/examples/add_channel.py index 692b344f7..a43ffab05 100644 --- a/swagger/sdrangel/examples/add_channel.py +++ b/swagger/sdrangel/examples/add_channel.py @@ -3,7 +3,7 @@ import requests, json, traceback, sys from optparse import OptionParser -base_url = "http://127.0.0.1:8888/sdrangel" +base_url = "http://127.0.0.1:8091/sdrangel" # ====================================================================== def getInputOptions(): diff --git a/swagger/sdrangel/examples/ptt.py b/swagger/sdrangel/examples/ptt.py index 2ed24d58a..4a7db5694 100644 --- a/swagger/sdrangel/examples/ptt.py +++ b/swagger/sdrangel/examples/ptt.py @@ -3,7 +3,7 @@ import requests, json, traceback, sys from optparse import OptionParser -base_url = "http://127.0.0.1:8888/sdrangel" +base_url = "http://127.0.0.1:8091/sdrangel" # ====================================================================== def getInputOptions(): diff --git a/swagger/sdrangel/examples/rtlsdr_settings.py b/swagger/sdrangel/examples/rtlsdr_settings.py index f37561a31..933ff62f6 100644 --- a/swagger/sdrangel/examples/rtlsdr_settings.py +++ b/swagger/sdrangel/examples/rtlsdr_settings.py @@ -1,7 +1,7 @@ #!/usr/bin/env python import requests, json -base_url = "http://127.0.0.1:8888/sdrangel" +base_url = "http://127.0.0.1:8091/sdrangel" requests_methods = { "GET": requests.get, diff --git a/swagger/sdrangel/examples/start_stop.py b/swagger/sdrangel/examples/start_stop.py index 0dc10d702..801b129e7 100644 --- a/swagger/sdrangel/examples/start_stop.py +++ b/swagger/sdrangel/examples/start_stop.py @@ -3,7 +3,7 @@ import requests, json, traceback, sys from optparse import OptionParser -base_url = "http://127.0.0.1:8888/sdrangel" +base_url = "http://127.0.0.1:8091/sdrangel" # ====================================================================== def getInputOptions():