[core] Add simple module loading
Add a way to load modules located in modules/*
This commit is contained in:
parent
8622673114
commit
bd12a51bfb
3 changed files with 41 additions and 7 deletions
|
@ -3,12 +3,10 @@
|
|||
"""Test module
|
||||
"""
|
||||
|
||||
import bumblebee.engine
|
||||
import core.module
|
||||
|
||||
class Module(bumblebee.engine.Module):
|
||||
def __init__(self, engine, config):
|
||||
super(Module, self).__init__(engine, config,
|
||||
bumblebee.output.Widget(full_text="test")
|
||||
)
|
||||
class Module(core.module.Module):
|
||||
def __init__(self):
|
||||
pass
|
||||
|
||||
# vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue