mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-11 16:57:51 -06:00
Fix some more code-style
This commit is contained in:
parent
ae7875a756
commit
ff6bc9de4e
4 changed files with 9 additions and 4 deletions
|
@ -208,7 +208,6 @@ class ContainerManager(QObject):
|
|||
if not file_url:
|
||||
return {"status": "error", "message": "Invalid path"}
|
||||
|
||||
mime_type = None
|
||||
if file_type not in self._container_name_filters:
|
||||
try:
|
||||
mime_type = MimeTypeDatabase.getMimeTypeForFile(file_url)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue