Procházet zdrojové kódy

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

heavensend před 6 roky
rodič
revize
88f7ca1e23

+ 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')