Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
P
Printrun
Project
Project
Details
Activity
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
machinery
Printrun
Commits
b2f26308
Commit
b2f26308
authored
Nov 02, 2013
by
Guillaume Seguin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't block waiting for oks when over TCP
parent
ee43a57e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
printcore.py
printrun/printcore.py
+3
-1
No files found.
printrun/printcore.py
View file @
b2f26308
...
@@ -492,6 +492,8 @@ class printcore():
...
@@ -492,6 +492,8 @@ class printcore():
return
return
while
self
.
printer
and
self
.
printing
and
not
self
.
clear
:
while
self
.
printer
and
self
.
printing
and
not
self
.
clear
:
time
.
sleep
(
0.001
)
time
.
sleep
(
0.001
)
# Only wait for oks when using serial connections
if
not
self
.
printer_tcp
:
self
.
clear
=
False
self
.
clear
=
False
if
not
(
self
.
printing
and
self
.
printer
and
self
.
online
):
if
not
(
self
.
printing
and
self
.
printer
and
self
.
online
):
self
.
clear
=
True
self
.
clear
=
True
...
...
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