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
be10cff3
Commit
be10cff3
authored
May 18, 2013
by
Guillaume Seguin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cleanup and fix recvcb
parent
8013ac86
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
6 deletions
+3
-6
pronterface.py
pronterface.py
+3
-6
No files found.
pronterface.py
View file @
be10cff3
...
...
@@ -1145,13 +1145,10 @@ class PronterWindow(MainWindow, pronsole.pronsole):
wx
.
CallAfter
(
self
.
tempdisp
.
SetLabel
,
self
.
tempreport
.
strip
()
.
replace
(
"ok "
,
""
))
self
.
update_tempdisplay
()
tstring
=
l
.
rstrip
()
#print tstring
if
(
tstring
!=
"ok"
)
and
(
tstring
!=
"wait"
)
and
(
"ok T:"
not
in
tstring
)
and
(
not
self
.
p
.
loud
):
# print "*"+tstring+"*"
# print "[" + time.strftime('%H:%M:%S',time.localtime(time.time())) + "] " + tstring
if
self
.
p
.
loud
or
(
tstring
not
in
[
"ok"
,
"wait"
]
and
"ok T:"
not
in
tstring
and
"ok C:"
not
in
tstring
):
wx
.
CallAfter
(
self
.
addtexttolog
,
tstring
+
"
\n
"
);
for
i
in
self
.
recvlisteners
:
i
(
l
)
for
listener
in
self
.
recvlisteners
:
listener
(
l
)
def
listfiles
(
self
,
line
):
if
"Begin file list"
in
line
:
...
...
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