From b0e529055cf98a50003dd9cf67aa4eef6dd12353 Mon Sep 17 00:00:00 2001 From: Mladen Uzunov Date: Wed, 16 Nov 2022 22:21:49 +0200 Subject: [PATCH] Fixing a fatal error + minor copy-paste issue in the Readme --- README.md | 2 +- esp8266.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 9663bb6..76b4773 100644 --- a/README.md +++ b/README.md @@ -52,7 +52,7 @@ if(esp8266_at_ver != None): ''' set the current WiFi in SoftAP+STA ''' -print("WiFi Current Mode:",esp01.setCurrentWiFiMode() +print("WiFi Current Mode:",esp01.setCurrentWiFiMode()) print("\r\n\r\n") diff --git a/esp8266.py b/esp8266.py index d316a1c..5b4a96e 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