mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-17 19:57:51 -06:00
Fix typo and remove unused imports
CURA-5135
This commit is contained in:
parent
0787f0b2ba
commit
f332b83364
1 changed files with 2 additions and 4 deletions
|
@ -1,11 +1,10 @@
|
||||||
# Copyright (c) 2017 Ultimaker B.V.
|
# Copyright (c) 2017 Ultimaker B.V.
|
||||||
# PluginBrowser is released under the terms of the LGPLv3 or higher.
|
# PluginBrowser is released under the terms of the LGPLv3 or higher.
|
||||||
|
|
||||||
from PyQt5.QtCore import QUrl, QObject, Qt, pyqtProperty, pyqtSignal, pyqtSlot
|
from PyQt5.QtCore import QUrl, QObject, pyqtProperty, pyqtSignal, pyqtSlot
|
||||||
from PyQt5.QtNetwork import QNetworkAccessManager, QNetworkRequest, QNetworkReply
|
from PyQt5.QtNetwork import QNetworkAccessManager, QNetworkRequest, QNetworkReply
|
||||||
|
|
||||||
from UM.Application import Application
|
from UM.Application import Application
|
||||||
from UM.Qt.ListModel import ListModel
|
|
||||||
from UM.Logger import Logger
|
from UM.Logger import Logger
|
||||||
from UM.PluginRegistry import PluginRegistry
|
from UM.PluginRegistry import PluginRegistry
|
||||||
from UM.Qt.Bindings.PluginsModel import PluginsModel
|
from UM.Qt.Bindings.PluginsModel import PluginsModel
|
||||||
|
@ -20,7 +19,6 @@ import os
|
||||||
import tempfile
|
import tempfile
|
||||||
import platform
|
import platform
|
||||||
import zipfile
|
import zipfile
|
||||||
import shutil
|
|
||||||
|
|
||||||
from cura.CuraApplication import CuraApplication
|
from cura.CuraApplication import CuraApplication
|
||||||
|
|
||||||
|
@ -44,7 +42,7 @@ class PluginBrowser(QObject, Extension):
|
||||||
self._plugins_metadata = []
|
self._plugins_metadata = []
|
||||||
self._plugins_model = None
|
self._plugins_model = None
|
||||||
|
|
||||||
# Can be 'installed' or 'availble'
|
# Can be 'installed' or 'available'
|
||||||
self._view = "available"
|
self._view = "available"
|
||||||
|
|
||||||
self._restart_required = False
|
self._restart_required = False
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue