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
cb3df1c4
Commit
cb3df1c4
authored
Feb 25, 2014
by
Ilya Novoselov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't check for E: in temperature report.
Repetier firmware doesn't have that, but otherwise works.
parent
5c451301
Changes
1
Hide 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 @
cb3df1c4
...
...
@@ -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