We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f8a6430 commit 401f774Copy full SHA for 401f774
src/repl_python_wakatime/hooks/codestats.py
@@ -137,10 +137,12 @@ def send_xp(self) -> None:
137
138
# after lock is released we can send the payload
139
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")
+ pulse_json = json.dumps(
+ {
+ "coded_at": f"{utc_now}",
+ "xps": xp_list,
144
+ }
145
+ ).encode("utf-8")
146
req = Request(url=self.url, data=pulse_json, headers=headers)
147
error = ""
148
try:
0 commit comments