Commit b062a530 authored by marc's avatar marc

minor change

parent c6c29fb8
......@@ -92,8 +92,7 @@ class DTObservationProgram(Ui_mainWindow):
logger.info('Initialization of DTObsGUI')
self.demo = config.getboolean('TestConfig','demo')
if consoleHost is None:
consoleHost = config.get('Console','HostName')
consoleHost = config.get('Console','HostName')
if consoleHost == 'console':
if socket.gethostname()=="mercurius":
logging.warning("You are using the actual console, not a demo!")
......
......@@ -6,5 +6,5 @@ LogLevel: INFO
demo: True
[Console]
consoleHost: http://charon.camras.nl/consoledemo
#consoleHost: console
HostName: http://charon.camras.nl/consoledemo
#HostName: console
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