Browse code

minor update

gandolf authored on 01/23/2020 23:40:19
Showing 1 changed files
... ...
@@ -49,13 +49,10 @@ _HOSTNAME = os.uname()[1]
49 49
 
50 50
 # set url of the aredn node
51 51
 
52
-if _HOSTNAME == "ka7jlo-raspi1":
53
-    _DEFAULT_AREDN_NODE_URL = "http://localnode:8080/cgi-bin/signal.json"
54
-elif _HOSTNAME == "raspi2": 
52
+_DEFAULT_AREDN_NODE_URL = "http://localnode:8080/cgi-bin/signal.json"
53
+
54
+if _HOSTNAME == "{my alternate host}": 
55 55
     _DEFAULT_AREDN_NODE_URL = "http://192.168.1.30:8080/cgi-bin/signal.json"
56
-else:
57
-    print "unknown host"
58
-    exit(1)
59 56
 
60 57
     ### FILE AND FOLDER LOCATIONS ###
61 58