Skip to content

Commit

Permalink
Merge pull request #93 from hdeadman/logging
Browse files Browse the repository at this point in the history
fix logging error
  • Loading branch information
OwOHamper committed Jul 15, 2022
2 parents 7b8a837 + e387fe4 commit 1fe9ec0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def __init__(self, log):
if len(missingkeys) > 0:
self.log("config.json is missing keys")
with open("config.json", 'w') as w:
self.log(f"missing keys: " + {str(missingkeys)})
self.log(f"missing keys: " + str(missingkeys))
for key in missingkeys:
config[key] = self.default[key]

Expand Down Expand Up @@ -82,4 +82,4 @@ def weapon_check(self, name):
if name in [weapon["displayName"] for weapon in requests.get("https://valorant-api.com/v1/weapons").json()["data"]]:
return True
else:
return False
return False

0 comments on commit 1fe9ec0

Please sign in to comment.