misc: get rid of SimpleNamespace uses

This commit is contained in:
Dima Gerasimov 2020-05-17 22:05:23 +01:00
parent 2a9fd54c12
commit c0bbb4eaf2
2 changed files with 11 additions and 16 deletions

View file

@ -7,10 +7,9 @@ Usage:
After that, you can set config attributes:
from types import SimpleNamespace
config.twitter = SimpleNamespace(
export_path='/path/to/twitter/exports',
)
class user_config:
export_path = '/path/to/twitter/exports'
config.twitter = user_config
"""
# todo why do we bring this into scope? don't remember..
import my.config as config