Skip to content

Commit a97105e

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 4410283 commit a97105e

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

src/repl_python_wakatime/hooks/codestats.py

+6-4
Original file line numberDiff line numberDiff line change
@@ -137,10 +137,12 @@ def send_xp(self) -> None:
137137

138138
# after lock is released we can send the payload
139139
utc_now = datetime.now().astimezone().isoformat()
140-
pulse_json = json.dumps({
141-
"coded_at": f"{utc_now}",
142-
"xps": xp_list,
143-
}).encode("utf-8")
140+
pulse_json = json.dumps(
141+
{
142+
"coded_at": f"{utc_now}",
143+
"xps": xp_list,
144+
}
145+
).encode("utf-8")
144146
req = Request(url=self.url, data=pulse_json, headers=headers)
145147
error = ""
146148
try:

0 commit comments

Comments
 (0)