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
72d6bd27
Commit
72d6bd27
authored
14 years ago
by
kliment
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changes to make interactive mode use nicer - no RECV message on recv timeout
parent
86c76a19
master
py3
stable
printrun-20150310
printrun-20140801
printrun-20140730
printrun-20140406
printrun-20140328
printrun-20140126
printrun-20131019
printrun-20130711
printrun-20130604
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
printcore.py
printcore.py
+2
-1
No files found.
printcore.py
View file @
72d6bd27
...
@@ -54,7 +54,8 @@ class printcore():
...
@@ -54,7 +54,8 @@ class printcore():
if
(
not
self
.
printer
or
not
self
.
printer
.
isOpen
):
if
(
not
self
.
printer
or
not
self
.
printer
.
isOpen
):
break
break
line
=
self
.
printer
.
readline
()
line
=
self
.
printer
.
readline
()
print
"RECV:"
,
line
if
(
len
(
line
)
>
1
):
print
"RECV:"
,
line
if
(
line
.
startswith
(
'start'
)):
if
(
line
.
startswith
(
'start'
)):
self
.
clear
=
True
self
.
clear
=
True
self
.
online
=
True
self
.
online
=
True
...
...
This diff is collapsed.
Click to expand it.
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