Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
marc
dtObsGUI
Commits
b062a530
Commit
b062a530
authored
Mar 10, 2018
by
marc
Browse files
minor change
parent
c6c29fb8
Changes
2
Hide whitespace changes
Inline
Side-by-side
DTObs.py
View file @
b062a530
...
...
@@ -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!"
)
...
...
dtobsgui.ini
View file @
b062a530
...
...
@@ -6,5 +6,5 @@ LogLevel: INFO
demo:
True
[Console]
console
Host:
http://charon.camras.nl/consoledemo
#
console
Host: console
Host
Name
:
http://charon.camras.nl/consoledemo
#Host
Name
: console
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment