Mercurial > libervia-web
diff libervia_server/__init__.py @ 417:2bd609d7dd65
server_side: use XDG recommended paths as the defaults
author | souliane <souliane@mailoo.org> |
---|---|
date | Sun, 23 Mar 2014 23:05:23 +0100 |
parents | fadbba1d793f |
children | 39b07289ff42 |
line wrap: on
line diff
--- a/libervia_server/__init__.py Mon Mar 24 17:12:14 2014 +0100 +++ b/libervia_server/__init__.py Sun Mar 23 23:05:23 2014 +0100 @@ -1044,8 +1044,8 @@ 'radiocolStarted', 'radiocolPreload', 'radiocolPlay', 'radiocolNoUpload', 'radiocolUploadOk', 'radiocolSongRejected', 'radiocolPlayers', 'roomLeft', 'roomUserChangedNick', 'chatStateReceived']: self.bridge.register(signal_name, self.signal_handler.getGenericCb(signal_name), "plugin") - self.media_dir = self.bridge.getConfig('','media_dir') - self.local_dir = self.bridge.getConfig('','local_dir') + self.media_dir = self.bridge.getConfig('', 'media_dir') + self.local_dir = self.bridge.getConfig('', 'local_dir') root.putChild('', Redirect('libervia.html')) root.putChild('json_signal_api', self.signal_handler) root.putChild('json_api', MethodHandler(self))