~emihalac/mnemosyne-proj/mnemosyne-proj

« back to all changes in this revision

Viewing changes to mnemosyne/mnemosyne/libmnemosyne/plugin.py

  • Committer: Peter Bienstman
  • Date: 2017-03-21 18:58:09 UTC
  • Revision ID: peter.bienstman@ugent.be-20170321185809-4pd9slxfin1y1l8t
Bug fixes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
55
55
                ["scheduler", "review_controller", "review_widget"]:
56
56
                self.review_reset_needed = True
57
57
        # Register all our components. Instantiate them if needed.
58
 
        for component in self.components + self.gui_components:
 
58
        for component in self.components:
59
59
            if component.instantiate == Component.IMMEDIATELY:
60
60
                component = component(component_manager=self.component_manager)
61
61
                self.component_manager.register(component)