Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
total_control_app
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Martin Drechsler
total_control_app
Commits
12410442
Commit
12410442
authored
Oct 27, 2018
by
Martin Drechsler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
minor change in burleighWM widget
parent
c2192172
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
myWidgets.py
myWidgets.py
+5
-5
No files found.
myWidgets.py
View file @
12410442
...
@@ -199,15 +199,15 @@ class burleighWM(QWidget):
...
@@ -199,15 +199,15 @@ class burleighWM(QWidget):
wavemeter_ok
=
False
wavemeter_ok
=
False
try
:
try
:
tn
=
telnetlib
.
Telnet
(
host
=
"wannanosaurus"
,
port
=
1234
,
timeout
=
1
)
tn
=
telnetlib
.
Telnet
(
host
=
"wannanosaurus"
,
port
=
1234
,
timeout
=
1
)
if
tn
.
sock_avail
():
wavemeter_ok
=
True
else
:
show_warning
(
'Wannanosaurus seems connected but WM might be off.'
)
except
:
except
:
show_warning
(
'Wannanosaurus not connected'
)
show_warning
(
'Wannanosaurus not connected'
)
if
tn
.
sock_avail
():
wavemeter_ok
=
True
else
:
show_warning
(
'Wannanosaurus seems connected but WM might be off.'
)
if
wavemeter_ok
:
if
wavemeter_ok
:
tn
.
write
(
b
'++eos 1
\n
'
)
tn
.
write
(
b
'++eos 1
\n
'
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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