mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 23:17:32 -06:00
add typing
This commit is contained in:
parent
30a05e6ba6
commit
0e11a165a3
1 changed files with 1 additions and 1 deletions
|
@ -179,7 +179,7 @@ class Toolbox(QObject, Extension):
|
||||||
'cura-siemensnx-plugin']
|
'cura-siemensnx-plugin']
|
||||||
|
|
||||||
# check for plugins that were installed with the old plugin-browser
|
# check for plugins that were installed with the old plugin-browser
|
||||||
def _isOldPlugin(self, plugin_id) -> bool:
|
def _isOldPlugin(self, plugin_id: str) -> bool:
|
||||||
if plugin_id in self.OLD_PLUGINS and plugin_id in self._plugin_registry.getInstalledPlugins():
|
if plugin_id in self.OLD_PLUGINS and plugin_id in self._plugin_registry.getInstalledPlugins():
|
||||||
Logger.log('i', 'Found a plugin that was installed with the old plugin browser: %s', plugin_id)
|
Logger.log('i', 'Found a plugin that was installed with the old plugin browser: %s', plugin_id)
|
||||||
if not self._package_manager.isPackageInstalled(plugin_id):
|
if not self._package_manager.isPackageInstalled(plugin_id):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue