diff --git a/utils/db.py b/utils/db.py index 3012811..6e2e2bf 100644 --- a/utils/db.py +++ b/utils/db.py @@ -37,9 +37,11 @@ __all__ = [ T = TypeVar("T") T_co = TypeVar("T_co", covariant=True) -_pth = "main.db" if Path("/data").exists(): _pth = "/data/main.db" +else: + _pth = "/./main.db" + try: Path(_pth).touch() except PermissionError as e: