Bladeren bron

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

heavensend 6 jaren geleden
bovenliggende
commit
88f7ca1e23
1 gewijzigde bestanden met toevoegingen van 2 en 2 verwijderingen
  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')