Skip to content

Commit

Permalink
Remove synthetic argument
Browse files Browse the repository at this point in the history
  • Loading branch information
laffra committed Jan 2, 2024
1 parent f537007 commit 4f26360
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions ltk/jquery.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,9 +116,6 @@ def error(jqXHR, textStatus, errorThrown):

def post(url, payload, handler, kind="json"):
start = get_time()
if "?" in url:
index = url.index("?")
url = f"{url[:index]}?_=p&{url[index:]}"
payload = window.encodeURIComponent(json.dumps(payload))
@callback
def success(response, *rest):
Expand Down

0 comments on commit 4f26360

Please sign in to comment.