Mercurial > libervia-web
comparison twisted/plugins/libervia.py @ 416:e9bc7854bce6
server_side: bug fix passing twistd arguments to Libervia
author | souliane <souliane@mailoo.org> |
---|---|
date | Mon, 24 Mar 2014 17:12:14 +0100 |
parents | fadbba1d793f |
children | 2bd609d7dd65 |
comparison
equal
deleted
inserted
replaced
415:fadbba1d793f | 416:e9bc7854bce6 |
---|---|
64 tapname = 'libervia' | 64 tapname = 'libervia' |
65 description = u'The web frontend of Salut à Toi' | 65 description = u'The web frontend of Salut à Toi' |
66 options = Options | 66 options = Options |
67 | 67 |
68 def makeService(self, options): | 68 def makeService(self, options): |
69 return Libervia(dict(options)) # get rid of the usage.Option surcharge | 69 return Libervia(**dict(options)) # get rid of the usage.Option overload |
70 | 70 |
71 config_path = save_config_path('sat') | 71 config_path = save_config_path('sat') |
72 config = SafeConfigParser() | 72 config = SafeConfigParser() |
73 config.read(map(expanduser, ['/etc/sat.conf', config_path + '/sat.conf', 'sat.conf', '.sat.conf'])) | 73 config.read(map(expanduser, ['/etc/sat.conf', config_path + '/sat.conf', 'sat.conf', '.sat.conf'])) |
74 | 74 |