Skip to content

Commit

Permalink
Updated project retrival statement
Browse files Browse the repository at this point in the history
  • Loading branch information
khoroshevskyi committed Jan 22, 2024
1 parent 57963e6 commit 5a0ba8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pepdbagent/modules/project.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def get(

try:
with Session(self._sa_engine) as session:
found_prj = session.scalars(statement).one()
found_prj = session.scalar(statement)

if found_prj:
_LOGGER.info(
Expand Down

0 comments on commit 5a0ba8f

Please sign in to comment.