mirror of
https://git.sr.ht/~tsileo/microblog.pub
synced 2024-12-22 13:14:28 +00:00
Fix formatting
This commit is contained in:
parent
757f1942f0
commit
a25a8fb1e1
1 changed files with 6 additions and 1 deletions
|
@ -39,7 +39,12 @@ class PousseTaches:
|
|||
self.base_url = base_url
|
||||
|
||||
def push(
|
||||
self, payload: Any, path: str, expected: int = 200, schedule: str = "", delay: int = 0,
|
||||
self,
|
||||
payload: Any,
|
||||
path: str,
|
||||
expected: int = 200,
|
||||
schedule: str = "",
|
||||
delay: int = 0,
|
||||
) -> str:
|
||||
# Encode our payload
|
||||
p = base64.b64encode(json.dumps(payload).encode()).decode()
|
||||
|
|
Loading…
Reference in a new issue