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
6fd2e8fa
Commit
6fd2e8fa
authored
Jun 19, 2011
by
Lawrence
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of github.com:kliment/Printrun
parents
53887565
07e08887
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
139 additions
and
62 deletions
+139
-62
printcore.py
printcore.py
+2
-1
pronterface.py
pronterface.py
+137
-61
No files found.
printcore.py
View file @
6fd2e8fa
...
@@ -84,8 +84,9 @@ class printcore():
...
@@ -84,8 +84,9 @@ class printcore():
if
self
.
loud
:
if
self
.
loud
:
print
"RECV: "
,
line
.
rstrip
()
print
"RECV: "
,
line
.
rstrip
()
if
(
line
.
startswith
(
'start'
)
or
line
.
startswith
(
'ok'
)
or
"T:"
in
line
):
if
(
line
.
startswith
(
'start'
)
or
line
.
startswith
(
'ok'
)):
self
.
clear
=
True
self
.
clear
=
True
if
(
line
.
startswith
(
'start'
)
or
line
.
startswith
(
'ok'
)
or
"T:"
in
line
):
if
(
not
self
.
online
or
line
.
startswith
(
'start'
))
and
self
.
onlinecb
is
not
None
:
if
(
not
self
.
online
or
line
.
startswith
(
'start'
))
and
self
.
onlinecb
is
not
None
:
self
.
onlinecb
()
self
.
onlinecb
()
self
.
online
=
True
self
.
online
=
True
...
...
pronterface.py
View file @
6fd2e8fa
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