This is an automated email from the ASF dual-hosted git repository.

bzp2010 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix.git


The following commit(s) were added to refs/heads/master by this push:
     new a4f0d7f  docs: fix python script bug (#6498)
a4f0d7f is described below

commit a4f0d7f5631906aa9652dea4758ff24bb7b03f5c
Author: soulbird <[email protected]>
AuthorDate: Mon Mar 7 10:02:42 2022 +0800

    docs: fix python script bug (#6498)
    
    Co-authored-by: soulbird <[email protected]>
---
 docs/en/latest/mtls.md | 4 ++--
 docs/zh/latest/mtls.md | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/docs/en/latest/mtls.md b/docs/en/latest/mtls.md
index cd364ec..70db59c 100644
--- a/docs/en/latest/mtls.md
+++ b/docs/en/latest/mtls.md
@@ -103,7 +103,7 @@ import sys
 # sudo pip install requests
 import requests
 
-if len(sys.argv) <= 4:
+if len(sys.argv) < 4:
     print("bad argument")
     sys.exit(1)
 with open(sys.argv[1]) as f:
@@ -166,7 +166,7 @@ import sys
 # sudo pip install requests
 import requests
 
-if len(sys.argv) <= 4:
+if len(sys.argv) < 4:
     print("bad argument")
     sys.exit(1)
 with open(sys.argv[2]) as f:
diff --git a/docs/zh/latest/mtls.md b/docs/zh/latest/mtls.md
index bdd723a..c647333 100644
--- a/docs/zh/latest/mtls.md
+++ b/docs/zh/latest/mtls.md
@@ -103,7 +103,7 @@ import sys
 # sudo pip install requests
 import requests
 
-if len(sys.argv) <= 4:
+if len(sys.argv) < 4:
     print("bad argument")
     sys.exit(1)
 with open(sys.argv[1]) as f:
@@ -166,7 +166,7 @@ import sys
 # sudo pip install requests
 import requests
 
-if len(sys.argv) <= 4:
+if len(sys.argv) < 4:
     print("bad argument")
     sys.exit(1)
 with open(sys.argv[2]) as f:

Reply via email to