mirror of
https://github.com/bunkerity/bunkerweb
synced 2026-05-24 09:28:37 +00:00
Remove no longer necessary argument in __db_session method of Database.py
This commit is contained in:
parent
5db2361150
commit
38c6c10bc0
1 changed files with 1 additions and 1 deletions
|
|
@ -181,7 +181,7 @@ class Database:
|
|||
self.sql_engine.dispose()
|
||||
|
||||
@contextmanager
|
||||
def __db_session(self, raise_error: bool = False) -> Any:
|
||||
def __db_session(self) -> Any:
|
||||
try:
|
||||
assert self.sql_engine is not None
|
||||
except AssertionError:
|
||||
|
|
|
|||
Loading…
Reference in a new issue