Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
wspy-monitor
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Taddeüs Kroes
wspy-monitor
Commits
76c04f80
Commit
76c04f80
authored
Sep 03, 2013
by
Taddeus Kroes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed some debug lines
parent
5f5d23b8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
+0
-2
server.py
server.py
+0
-2
No files found.
server.py
View file @
76c04f80
...
@@ -66,7 +66,6 @@ if __name__ == '__main__':
...
@@ -66,7 +66,6 @@ if __name__ == '__main__':
def
update
():
def
update
():
while
True
:
while
True
:
if
not
clients
:
if
not
clients
:
print
'stop thread'
break
break
status
=
Frame
(
OPCODE_TEXT
,
json
.
dumps
(
dict
(
stats
())))
status
=
Frame
(
OPCODE_TEXT
,
json
.
dumps
(
dict
(
stats
())))
...
@@ -95,7 +94,6 @@ if __name__ == '__main__':
...
@@ -95,7 +94,6 @@ if __name__ == '__main__':
clients
.
append
(
sock
)
clients
.
append
(
sock
)
if
not
t
.
is_alive
():
if
not
t
.
is_alive
():
print
'start thread'
t
=
Thread
(
target
=
update
)
t
=
Thread
(
target
=
update
)
t
.
daemon
=
True
t
.
daemon
=
True
t
.
start
()
t
.
start
()
...
...
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