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
17b2a870
Commit
17b2a870
authored
Feb 25, 2014
by
Guillaume Seguin
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #489 from nullie/master
Don't check for E: in temperature report.
parents
5c451301
cb3df1c4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
pronterface.py
printrun/pronterface.py
+1
-2
No files found.
printrun/pronterface.py
View file @
17b2a870
...
...
@@ -61,7 +61,6 @@ from printrun import gcoder
tempreport_exp
=
re
.
compile
(
"([TB]
\
d*):([-+]?
\
d*
\
.?
\
d*)(?: ?
\
/)?([-+]?
\
d*
\
.?
\
d*)"
)
tempreading_exp
=
re
.
compile
(
"(^T:| T:)"
)
extruderreading_exp
=
re
.
compile
(
"(^E:| E:)"
)
def
parse_temperature_report
(
report
):
matches
=
tempreport_exp
.
findall
(
report
)
...
...
@@ -1483,7 +1482,7 @@ Printrun. If not, see <http://www.gnu.org/licenses/>."""
self
.
userm114
-=
1
else
:
isreport
=
True
if
"ok T:"
in
l
or
(
tempreading_exp
.
findall
(
l
)
and
extruderreading_exp
.
findall
(
l
)
):
if
"ok T:"
in
l
or
tempreading_exp
.
findall
(
l
):
self
.
tempreport
=
l
wx
.
CallAfter
(
self
.
tempdisp
.
SetLabel
,
self
.
tempreport
.
strip
()
.
replace
(
"ok "
,
""
))
self
.
update_tempdisplay
()
...
...
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