view src/__init__.py @ 891:14e611e38b67

server (blog): set HTTP status code to 500 on renderError
author Goffi <goffi@goffi.org>
date Fri, 18 Mar 2016 14:29:24 +0100
parents 5cefc6ab302f
children
line wrap: on
line source

try:
    from common.constants import Const as C
except ImportError:
    pass # import doesn't work at this stage with pyjamas
else:
    __version__ = C.APP_VERSION