Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
C
compact-slowcontrol
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
4
Issues
4
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Test Cases
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Package Registry
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Peter-Bernd Otte
compact-slowcontrol
Commits
75454efb
Commit
75454efb
authored
Aug 11, 2019
by
Peter-Bernd Otte
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update relais-control.py
parent
96c64719
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
python/relais-control/relais-control.py
python/relais-control/relais-control.py
+2
-2
No files found.
python/relais-control/relais-control.py
View file @
75454efb
...
...
@@ -85,7 +85,7 @@ debug = True if args.verbosity>1 else False
if
os
.
path
.
exists
(
args
.
config_file
):
logger
.
debug
(
"config file exists"
)
with
open
(
"config.yml"
,
'r'
)
as
ymlfile
:
with
open
(
args
.
config_file
,
'r'
)
as
ymlfile
:
cfg
=
yaml
.
full_load
(
ymlfile
)
# see https://github.com/yaml/pyyaml/wiki/PyYAML-yaml.load(input)-Deprecation
for
section
in
cfg
:
...
...
@@ -140,4 +140,4 @@ while True:
time
.
sleep
((
1
-
time
.
time
()
%
1
)
*
sleepTime
)
#every second, even if the processing before took longer
client
.
disconnect
()
client
.
loop_stop
()
\ No newline at end of file
client
.
loop_stop
()
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