Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Aug 19, 2024
1 parent f6edb44 commit ee295b3
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/repl_python_wakatime/hooks/codestats.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,10 +137,12 @@ def send_xp(self) -> None:

# after lock is released we can send the payload
utc_now = datetime.now().astimezone().isoformat()
pulse_json = json.dumps({
"coded_at": f"{utc_now}",
"xps": xp_list,
}).encode("utf-8")
pulse_json = json.dumps(
{
"coded_at": f"{utc_now}",
"xps": xp_list,
}
).encode("utf-8")
req = Request(url=self.url, data=pulse_json, headers=headers)
error = ""
try:
Expand Down

0 comments on commit ee295b3

Please sign in to comment.