No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

__init__.py 708B

12345678910111213141516171819202122
  1. from lodel.settings.validator import SettingValidator
  2. __loader__ = 'main.py'
  3. CONFSPEC = {
  4. 'lodel2.webui': {
  5. 'standalone': ( False,
  6. SettingValidator('bool')),
  7. 'listen_address': ( '127.0.0.1',
  8. SettingValidator('dummy')),
  9. 'listen_port': ( '9090',
  10. SettingValidator('int')),
  11. },
  12. 'lodel2.webui.sessions': {
  13. 'directory': ( '/tmp/lodel2_session',
  14. SettingValidator('path')),
  15. 'expiration': ( 900,
  16. SettingValidator('int')),
  17. 'file_template': ( 'lodel2_%s.sess',
  18. SettingValidator('dummy')),
  19. }
  20. }