Skip to content

Commit

Permalink
fix: lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
wu-vincent committed Sep 8, 2024
1 parent d47800f commit faa01ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/endstone_bstats/_metrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ def _load_config(self) -> None:
config = tomlkit.document()

# Check if the config file exists
if not "server-uuid" in config:
if "server-uuid" not in config:
config.setdefault("enabled", True)
config.setdefault("server-uuid", str(uuid.uuid4()))
config.setdefault("log-failed-requests", False)
Expand Down

0 comments on commit faa01ff

Please sign in to comment.