adding version option

This commit is contained in:
2021-10-25 14:33:49 +01:00
parent 1df6e3f2ea
commit 7da751dc17
2 changed files with 9 additions and 0 deletions

View File

@@ -3,6 +3,8 @@ import os
import panaetius
from panaetius.exceptions import LoggingDirectoryDoesNotExistException
__version__ = "0.1.0"
if (config_path := os.environ.get("TEMBO_CONFIG")) is not None:
CONFIG = panaetius.Config("tembo", config_path)
else: