fix: webdav year setup tool use get_session_factory()

This commit is contained in:
1sonhador committed 2026-07-02 23:09:17 +01:00
1 parent a4f4c2a921
commit f381af9c60
1 file changed
+1 -1
+1 -1
View File
@@ -38,7 +38,7 @@ def main() -> int:
parser.add_argument("--dry-run", action="store_true")
args = parser.parse_args()
db = SessionLocal()
db = get_session_factory()()
try:
account = get_account(db, args.account_id)
config = resolve_webdav_config(account)