Mercurial > libervia-backend
comparison src/core/constants.py @ 2105:c96fe007ca41
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.
author | Goffi <goffi@goffi.org> |
---|---|
date | Sun, 25 Dec 2016 16:43:56 +0100 |
parents | 0931b5a6213c |
children | 85f3e12e984d |
comparison
equal
deleted
inserted
replaced
2104:4f189bd1d9ed | 2105:c96fe007ca41 |
---|---|
33 APP_NAME_FULL = u'%s (%s)' % (APP_NAME_SHORT, APP_NAME) | 33 APP_NAME_FULL = u'%s (%s)' % (APP_NAME_SHORT, APP_NAME) |
34 APP_VERSION = u'0.7.0D' # Please add 'D' at the end for dev versions | 34 APP_VERSION = u'0.7.0D' # Please add 'D' at the end for dev versions |
35 APP_URL = u'http://salut-a-toi.org' | 35 APP_URL = u'http://salut-a-toi.org' |
36 | 36 |
37 | 37 |
38 # Main config ## | 38 ## Runtime ## |
39 PLUGIN_EXT = "py" | |
40 | |
41 ## Main config ## | |
39 DEFAULT_BRIDGE = 'dbus' | 42 DEFAULT_BRIDGE = 'dbus' |
40 | 43 |
41 | 44 |
42 # Protocol | 45 ## Protocol ## |
43 XMPP_C2S_PORT = 5222 | 46 XMPP_C2S_PORT = 5222 |
44 XMPP_KEEP_ALIFE = 180 | 47 XMPP_KEEP_ALIFE = 180 |
45 XMPP_MAX_RETRIES = 2 | 48 XMPP_MAX_RETRIES = 2 |
46 | 49 |
47 | 50 |