Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Cura
CAD
CuraFreeCADPlugin
Commits
05bf26cb
Commit
05bf26cb
authored
Feb 07, 2020
by
Thomas Karl Pietrowski
Browse files
PEP8: Oh, yes, bare exceptions...
Signed-off-by: Thomas Karl Pietrowski <thopiekar@gmail.com> (github: thopiekar)
parent
776b07b4
Pipeline
#729
passed with stages
in 45 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
CuraFreeCADPlugin/FreeCADReader.py
View file @
05bf26cb
...
...
@@ -66,7 +66,7 @@ class FreeCADReader(CommonCLIReader):
ret
=
self
.
executeCommand
([
cli
,
]
+
opt
,
cwd
=
cwd
,
)
except
:
except
Exception
:
# Ubuntu: Command name is since bioic in lowercase.
cli
=
cli
.
lower
()
ret
=
self
.
executeCommand
([
cli
,
]
+
opt
,
...
...
CuraFreeCADPlugin/__init__.py
View file @
05bf26cb
...
...
@@ -39,7 +39,7 @@ def register(app):
try
:
reader
=
FreeCADReader
.
FreeCADReader
()
metadata
[
"mesh_reader"
]
=
reader
except
:
except
Exception
:
Logger
.
logException
(
"e"
,
"An error occured, when loading the reader!"
)
return
metadata
Write
Preview
Supports
Markdown
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