# HG changeset patch # User souliane # Date 1403763030 -7200 # Node ID c4d6d1254ec1766b4294ffa2cc96b64f03573476 # Parent 1ce6133993e497a95bdf1836a03246e30dbd500a server side: fixes constants import for installing libervia the first time diff -r 1ce6133993e4 -r c4d6d1254ec1 src/server/constants.py --- a/src/server/constants.py Wed Jun 25 14:02:50 2014 +0200 +++ b/src/server/constants.py Thu Jun 26 08:10:30 2014 +0200 @@ -17,7 +17,11 @@ # You should have received a copy of the GNU Affero General Public License # along with this program. If not, see . -from libervia.common import constants +try: + from libervia.common import constants +except ImportError: + # needed for installing libervia the first time + from src.common import constants class Const(constants.Const):