Skip to content

Commit

Permalink
Fix a couple mistakes
Browse files Browse the repository at this point in the history
Signed-off-by: Jamie Hale <[email protected]>
  • Loading branch information
jamshale committed Oct 24, 2024
1 parent 6a0e462 commit a0bebac
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion acapy_agent/askar/store.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def get_uri(self, create: bool = False, in_memory: Optional[bool] = False) -> st
uri += ":memory:"
return uri
path = storage_path("wallet", self.name, create=create).as_posix()
uri += urllib.parse.quote(f"{path}")
uri += urllib.parse.quote(f"{path}/sqlite.db")
elif self.storage_type == "postgres":
if not self.storage_config:
raise ProfileError("No 'storage_config' provided for postgres store")
Expand Down
6 changes: 3 additions & 3 deletions acapy_agent/core/conductor.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
from .dispatcher import Dispatcher
from .error import StartupError
from .oob_processor import OobMessageProcessor
from .util import SHUTDOWN_EVENT_TOPIC
from .util import SHUTDOWN_EVENT_TOPIC, STARTUP_EVENT_TOPIC

LOGGER = logging.getLogger(__name__)
# Refer ACA-Py issue #2197
Expand Down Expand Up @@ -537,8 +537,8 @@ async def start(self) -> None:
"An exception was caught while checking for wallet upgrades in progress"
)

# notify protcols of startup status
# await self.root_profile.notify(STARTUP_EVENT_TOPIC, {})
# notify protocols of startup status
await self.root_profile.notify(STARTUP_EVENT_TOPIC, {})

async def stop(self, timeout=1.0):
"""Stop the agent."""
Expand Down

0 comments on commit a0bebac

Please sign in to comment.