Simplify config discovery: get rid of the hacky stub and reimport proper config automatically

This commit is contained in:
Dima Gerasimov 2020-05-04 22:52:43 +01:00 committed by karlicoss
parent fd224d8c38
commit 636060db57
10 changed files with 35 additions and 25 deletions

7
my/config/__init__.py Normal file
View file

@ -0,0 +1,7 @@
# TODO ok, this thing should trigger .cfg import presumably??
from .. import init
# TODO maybe, reuse mycfg_template here?
class stub:
key = 'value'