Skip to content

Commit

Permalink
fix type
Browse files Browse the repository at this point in the history
  • Loading branch information
Mausy5043 committed Dec 15, 2024
1 parent 579f233 commit fa785f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
_MYHOME = os.environ["HOME"]
_DATABASE_FILENAME = "kimnaty.v2.sqlite3"
_DATABASE: str = f"/srv/rmt/_databases/kimnaty/{_DATABASE_FILENAME}"
_HERE = os.path.realpath(__file__).split("/")
__HERE: list[str] = os.path.realpath(__file__).split("/")
# example: HERE = ['', 'home', 'pi', 'kimnaty', 'bin', 'constants.py']
_HERE = "/".join(_HERE[0:-2])
_HERE: str = "/".join(__HERE[0:-2])
_OPTION_OVERRIDE_FILE = f"{_MYHOME}/.config/kimnaty.json"
_WEBSITE = "/run/kimnaty/site/img"

Expand Down

0 comments on commit fa785f8

Please sign in to comment.