remove the web URL configuration

This commit is contained in:
Sven Czarnian
2021-11-15 20:14:16 +01:00
parent 9bf0600488
commit cae904ee39

View File

@@ -20,12 +20,6 @@ class Server():
self.PortReceiver = int(config['portreceiver']) self.PortReceiver = int(config['portreceiver'])
elif 'portnotification' == key: elif 'portnotification' == key:
self.PortNotification = int(config['portnotification']) self.PortNotification = int(config['portnotification'])
elif 'webuiurl' == key:
self.WebUiUrl = config['webuiurl']
elif 'sequencenotification' == key:
self.WebUiSequenceNotification = config['sequencenotification']
elif 'configurationreceiver' == key:
self.WebUiConfigurationReceiver = config['configurationreceiver']
if self.Address is None: if self.Address is None:
sys.stderr.write('No server-address configuration found!') sys.stderr.write('No server-address configuration found!')
@@ -36,12 +30,3 @@ class Server():
if self.PortNotification is None: if self.PortNotification is None:
sys.stderr.write('No server-port-notification configuration found!') sys.stderr.write('No server-port-notification configuration found!')
sys.exit(-1) sys.exit(-1)
if self.WebUiUrl is None:
sys.stderr.write('No Web-UI URL configuration found!')
sys.exit(-1)
if self.WebUiSequenceNotification is None:
sys.stderr.write('No Web-UI sequence notification configuration found!')
sys.exit(-1)
if self.WebUiConfigurationReceiver is None:
sys.stderr.write('No Web-UI configuration receiver configuration found!')
sys.exit(-1)