Browse Source

更新 'pyproject/SSHManager/local_generater/word_generater.py'

heavensend 6 years ago
parent
commit
88f7ca1e23
1 changed files with 2 additions and 2 deletions
  1. 2 2
      pyproject/SSHManager/local_generater/word_generater.py

+ 2 - 2
pyproject/SSHManager/local_generater/word_generater.py

@@ -26,9 +26,9 @@ def decodestr(s):
 if __name__ == "__main__":
     if len(sys.argv) != 3:
         print "usage: word_generater.py [decodestr]/[encodestr] [string]"
-    if sys.argv[1] == "decodestr" :
+    if sys.argv[1] == "decode" :
         print decodestr(sys.argv[2])
-    if sys.argv[1] == "encodestr" :
+    if sys.argv[1] == "encode" :
         print encodestr(sys.argv[2])
 #print encodestr('6379')
 #print decodestr('dHbR7NjM3OQ')