Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
nrobinaubertin committed Nov 14, 2024
1 parent 2980436 commit 342413b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/charm.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ def __init__(self, *args: typing.Any):
# Using this can be useful when debugging locally
# More information about resources:
# https://juju.is/docs/sdk/resources#heading--add-a-resource-to-a-charm
self.snap_path: str | None = None
try:
self.snap_path = str(self.model.resources.fetch("charmed-bind-snap"))
except ops.ModelError as e:
Expand Down

0 comments on commit 342413b

Please sign in to comment.