[core] Add simple module loading

Add a way to load modules located in modules/*
This commit is contained in:
Tobias Witek 2020-01-19 16:06:21 +01:00
parent 8622673114
commit bd12a51bfb
3 changed files with 41 additions and 7 deletions

View file

@ -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