Hello everybody,
I am using TG 2.2.0 and tgext.pluggable 0.0.8
I would like to load some plugins listed in my development.ini. I tried
this:
development.ini
[app:main]
...
...
plugins= plugin1, plugin2
app_cfg.py:
from tg import config
from tgext.pluggable import plug
for plugin in config.get('plugins').split(','):
plug(base_config, plugin)
TG2 returns this error AttributeError: 'NoneType' object has no attribute
'split'.
Thanks for your support
--
You received this message because you are subscribed to the Google Groups
"TurboGears" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/turbogears/-/onmsc6yAKgkJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/turbogears?hl=en.