view libervia/__init__.py @ 1455:e8c480b0078e

server: don't use unordered set for accepted languages: fix 393
author Goffi <goffi@goffi.org>
date Wed, 29 Sep 2021 10:31:59 +0200
parents ac2374c92294
children
line wrap: on
line source

import os.path

version_file = os.path.join(os.path.dirname(__file__), "VERSION")
with open(version_file) as f:
    __version__ = f.read().strip()