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
2e10c296
Commit
2e10c296
authored
Jun 12, 2013
by
D1plo1d
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adding a --loud debug option to prontserve
parent
58aa7cf0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
prontserve.py
prontserve.py
+5
-0
No files found.
prontserve.py
View file @
2e10c296
...
@@ -558,6 +558,10 @@ if __name__ == "__main__":
...
@@ -558,6 +558,10 @@ if __name__ == "__main__":
help
=
'Does not connect to the 3D printer'
help
=
'Does not connect to the 3D printer'
)
)
parser
.
add_argument
(
'--loud'
,
default
=
False
,
action
=
'store_true'
,
help
=
'Enables verbose printer output'
)
args
=
parser
.
parse_args
()
args
=
parser
.
parse_args
()
dry_run
=
args
.
dry_run
dry_run
=
args
.
dry_run
...
@@ -568,6 +572,7 @@ if __name__ == "__main__":
...
@@ -568,6 +572,7 @@ if __name__ == "__main__":
print
""
print
""
prontserve
=
Prontserve
(
dry_run
=
dry_run
)
prontserve
=
Prontserve
(
dry_run
=
dry_run
)
prontserve
.
p
.
loud
=
args
.
loud
try
:
try
:
if
dry_run
==
False
:
if
dry_run
==
False
:
...
...
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