Skip to content

Commit

Permalink
chore(config): Remove unnecessary load json from string
Browse files Browse the repository at this point in the history
  • Loading branch information
divadsn committed Mar 12, 2024
1 parent dbaf695 commit 49ef6b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

try:
with open("config.json", "r") as f:
config = json.loads(f.read())
config = json.load(f)
except FileNotFoundError:
config = {}

Expand Down

0 comments on commit 49ef6b7

Please sign in to comment.