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
1df755e8
Commit
1df755e8
authored
Mar 28, 2014
by
Guillaume Seguin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Woops fix that cancelprint and ensure we're paused first
parent
5e02f686
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
printcore.py
printrun/printcore.py
+2
-1
No files found.
printrun/printcore.py
View file @
1df755e8
...
@@ -371,9 +371,10 @@ class printcore():
...
@@ -371,9 +371,10 @@ class printcore():
return
True
return
True
def
cancelprint
(
self
):
def
cancelprint
(
self
):
self
.
pause
()
self
.
paused
=
False
self
.
paused
=
False
self
.
mainqueue
=
None
self
.
mainqueue
=
None
self
.
p
.
clear
=
True
self
.
clear
=
True
# run a simple script if it exists, no multithreading
# run a simple script if it exists, no multithreading
def
runSmallScript
(
self
,
filename
):
def
runSmallScript
(
self
,
filename
):
...
...
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