Mercurial > libervia-web
comparison src/server/constants.py @ 490:c4d6d1254ec1
server side: fixes constants import for installing libervia the first time
author | souliane <souliane@mailoo.org> |
---|---|
date | Thu, 26 Jun 2014 08:10:30 +0200 |
parents | 0bbbef1d53a8 |
children | 750db9ff8525 |
comparison
equal
deleted
inserted
replaced
489:1ce6133993e4 | 490:c4d6d1254ec1 |
---|---|
15 # GNU Affero General Public License for more details. | 15 # GNU Affero General Public License for more details. |
16 | 16 |
17 # You should have received a copy of the GNU Affero General Public License | 17 # You should have received a copy of the GNU Affero General Public License |
18 # along with this program. If not, see <http://www.gnu.org/licenses/>. | 18 # along with this program. If not, see <http://www.gnu.org/licenses/>. |
19 | 19 |
20 from libervia.common import constants | 20 try: |
21 from libervia.common import constants | |
22 except ImportError: | |
23 # needed for installing libervia the first time | |
24 from src.common import constants | |
21 | 25 |
22 | 26 |
23 class Const(constants.Const): | 27 class Const(constants.Const): |
24 | 28 |
25 APP_NAME = 'Libervia' | 29 APP_NAME = 'Libervia' |