12 lines
564 B
Python
12 lines
564 B
Python
|
import os as __os
|
||
|
__BASE_DIR = __os.path.dirname(__os.path.abspath(__file__))
|
||
|
|
||
|
DATE_FORMAT_SHORT = __os.environ.get("DATE_FORMAT_SHORT", "%H:%M")
|
||
|
DATE_FORMAT_FULL = __os.environ.get("DATE_FORMAT_FULL", "%d.%m.%Y - %H:%M Uhr")
|
||
|
PAGE_SIZE = int(__os.environ.get("PAGE_SIZE", 20))
|
||
|
FILENAME_TEMPLATE = __os.environ.get("FILENAME_TEMPLATE", "ticker%d.html")
|
||
|
OUTPUT_DIR = __os.environ.get("OUTPUT_DIR", __os.path.join(__BASE_DIR, "output"))
|
||
|
DB_FILE = __os.environ.get("DB_FILE", __os.path.join(__BASE_DIR, "tycker.sqlite"))
|
||
|
BASE_URL = __os.environ.get("BASE_URL", "./")
|
||
|
|