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
9f9b8d05
Commit
9f9b8d05
authored
May 19, 2013
by
Guillaume Seguin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cleanup pronsole.py loading & some SD stuff
parent
1dfb0cd6
Changes
2
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
72 additions
and
88 deletions
+72
-88
pronsole.py
pronsole.py
+70
-86
pronterface.py
pronterface.py
+2
-2
No files found.
pronsole.py
View file @
9f9b8d05
This diff is collapsed.
Click to expand it.
pronterface.py
View file @
9f9b8d05
...
@@ -1150,7 +1150,7 @@ class PronterWindow(MainWindow, pronsole.pronsole):
...
@@ -1150,7 +1150,7 @@ class PronterWindow(MainWindow, pronsole.pronsole):
for
listener
in
self
.
recvlisteners
:
for
listener
in
self
.
recvlisteners
:
listener
(
l
)
listener
(
l
)
def
listfiles
(
self
,
line
):
def
listfiles
(
self
,
line
,
ignored
=
False
):
if
"Begin file list"
in
line
:
if
"Begin file list"
in
line
:
self
.
listing
=
1
self
.
listing
=
1
elif
"End file list"
in
line
:
elif
"End file list"
in
line
:
...
@@ -1158,7 +1158,7 @@ class PronterWindow(MainWindow, pronsole.pronsole):
...
@@ -1158,7 +1158,7 @@ class PronterWindow(MainWindow, pronsole.pronsole):
self
.
recvlisteners
.
remove
(
self
.
listfiles
)
self
.
recvlisteners
.
remove
(
self
.
listfiles
)
wx
.
CallAfter
(
self
.
filesloaded
)
wx
.
CallAfter
(
self
.
filesloaded
)
elif
self
.
listing
:
elif
self
.
listing
:
self
.
sdfiles
+=
[
line
.
replace
(
"
\n
"
,
""
)
.
replace
(
"
\r
"
,
""
)
.
lower
()]
self
.
sdfiles
.
append
(
line
.
strip
()
.
lower
())
def
waitforsdresponse
(
self
,
l
):
def
waitforsdresponse
(
self
,
l
):
if
"file.open failed"
in
l
:
if
"file.open failed"
in
l
:
...
...
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