Commits

Marko Toplak  committed 0f2b07b

Do not load addon shelve on startup.

  • Participants
  • Parent commits 9b1b91c

Comments (0)

Files changed (2)

File Orange/OrangeCanvas/orngDlgs.py

         QDialog.__init__(self, *args)
         self.setModal(True)
 
+        Orange.utils.addons.load_installed_addons()
+
         self.canvasDlg = canvasDlg
         self.setWindowTitle("Add-on Management")
         self.topLayout = QVBoxLayout(self)

File Orange/utils/addons.py

     install(name, progress_callback)
 
 
-try:
-    load_installed_addons()
-except Exception as ex:
-    # Do not let an exception propagate during the import phase,
-    # It should not even be called at import only if/when add-ons
-    # db is actually requested.
-    warnings.warn("'load_installed_addons' failed with %s" % ex,
-                  UserWarning)
-
-
 # Support for loading legacy "registered" add-ons
 def __read_addons_list(addons_file, systemwide):
     if os.path.isfile(addons_file):