Skip to content

Commit

Permalink
Merge pull request #17 from canonical/fix-linting
Browse files Browse the repository at this point in the history
Fix linting
  • Loading branch information
arturo-seijas authored Jul 11, 2024
2 parents 3a90686 + 31b2884 commit 3418dc8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/charm.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def _on_config_changed(self, event: ops.ConfigChangedEvent) -> None:
event: event triggering the handler.
"""
# Fetch the new config value
log_level = self.model.config["log-level"].lower()
log_level = str(self.model.config["log-level"]).lower()

# Do some validation of the configuration option
if log_level in VALID_LOG_LEVELS:
Expand Down

0 comments on commit 3418dc8

Please sign in to comment.