Explorar el Código

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

heavensend hace 6 años
padre
commit
88f7ca1e23
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  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')