From 2888b7012d16f7ed7e998eac321ce8aba6a66680 Mon Sep 17 00:00:00 2001 From: thegreenlion42 <124219051+thegreenlion42@users.noreply.github.com> Date: Sat, 24 Jun 2023 22:35:40 +0200 Subject: [PATCH] Update esp8266.py fixed error --- esp8266.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/esp8266.py b/esp8266.py index d316a1c..15478a1 100644 --- a/esp8266.py +++ b/esp8266.py @@ -459,7 +459,7 @@ def doHttpGet(self,host,path,user_agent="RPi-Pico", port=80): return 0, None - def doHttpPost(self,host,path,user_agent="RPi-Pico",content_type,content,port=80): + def doHttpPost(self,host,path,content_type,content,user_agent='RPi-Pico',port=80): """ This fucntion use to complete a HTTP Post operation @@ -504,4 +504,4 @@ def __del__(self): """ print('Destructor called, ESP8266 deleted.') pass - \ No newline at end of file +