Merge branch 'CURA-7501_fix_warning_preloaded_plugins' of github.com:Ultimaker/Cura

This commit is contained in:
Jaime van Kessel 2020-11-16 15:24:31 +01:00
commit 68bc75e7a2
No known key found for this signature in database
GPG key ID: 3710727397403C91

View file

@ -756,7 +756,7 @@ class CuraApplication(QtApplication):
self._plugin_registry.addPluginLocation(os.path.join(QtApplication.getInstallPrefix(), "lib" + suffix, "cura"))
if not hasattr(sys, "frozen"):
self._plugin_registry.addPluginLocation(os.path.join(os.path.abspath(os.path.dirname(__file__)), "..", "plugins"))
self._plugin_registry.loadPlugin("ConsoleLogger")
self._plugin_registry.preloaded_plugins.append("ConsoleLogger")
self._plugin_registry.loadPlugins()