We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1cac350 commit 9e01475Copy full SHA for 9e01475
1 file changed
src/db/base.py
@@ -204,6 +204,7 @@ def _safe_url(self) -> str:
204
if not db_path:
205
backup_path = os.getenv("BACKUP_PATH", "/data/backups")
206
db_path = os.path.join(backup_path, "telegram_backup.db")
207
+ db_path = os.path.abspath(db_path)
208
return f"sqlite+aiosqlite:///{db_path}"
209
# PostgreSQL — build from non-sensitive env vars, mask password
210
host = os.getenv("POSTGRES_HOST", "localhost")
0 commit comments