Debian Codegraph @

src/webupload/lkwebupload/__init__.py

raw
1 # -*- coding: utf-8 -*-
2 #
3 # Copyright (C) 2018-2022 Matthias Klumpp <[email protected]>
4 #
5 # SPDX-License-Identifier: LGPL-3.0+
6
7 import os
8 import sys
9
10 # ensure the Laniakea Python module is found
11 thisfile = __file__
12 if not os.path.isabs(thisfile):
13 thisfile = os.path.normpath(os.path.join(os.getcwd(), thisfile))
14 sys.path.append(os.path.normpath(os.path.join(os.path.dirname(thisfile), '..', '..')))
15
16
17 from .app import create_app
18
19 __all__ = ['create_app']