fix: webdav year setup tool use get_session_factory()
This commit is contained in:
1 parent
a4f4c2a921
commit
f381af9c60
1 file changed
+1
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user