core(constants): added a constant for profile extension (PLUGIN_EXT):
this constant may be modified if needed, which is the case on Android (it's modified by Cagou service's main.py), so platform detection is not needed anymore in sat_main.py.
This commit is contained in:
parent
fa136a4998
commit
a37b57e7ad
1 changed files with 8 additions and 11 deletions
|
|
@ -35,11 +35,14 @@ class Const(object):
|
|||
APP_URL = u'http://salut-a-toi.org'
|
||||
|
||||
|
||||
# Main config ##
|
||||
## Runtime ##
|
||||
PLUGIN_EXT = "py"
|
||||
|
||||
## Main config ##
|
||||
DEFAULT_BRIDGE = 'dbus'
|
||||
|
||||
|
||||
# Protocol
|
||||
## Protocol ##
|
||||
XMPP_C2S_PORT = 5222
|
||||
XMPP_KEEP_ALIFE = 180
|
||||
XMPP_MAX_RETRIES = 2
|
||||
|
|
|
|||
Loading…
Reference in a new issue