瀏覽代碼

Add builtins

master
Noëlle 4 年之前
父節點
當前提交
b717193023
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2
    1
      koboldgen.py

+ 2
- 1
koboldgen.py 查看文件

@@ -452,7 +452,8 @@ class Campaign:

def decode_key(self, pw):
densePwd = pw.replace(" ", "")
if len(densePwd) != 84 and (densePwd not in ["PACKTACTICS!", "JUSTINBAILEY", "NARPASSWORD"]):
builtins = ["PACKTACTICS!", "JUSTINBAILEY", "NARPASSWORD", "PACKTACTICS1", "PACKTACTICS2", "PACKTACTICS3"]
if len(densePwd) != 84 and (densePwd.upper() not in builtins):
print("This password is not valid. If this is a password that this generator created, please email noelle@noelle.codes and let me know.")
sys.exit(0)
if densePwd[:12].upper() == "PACKTACTICS!" or densePwd[:12].upper() == "PACKTACTICS3":

Loading…
取消
儲存