Introduce more fallbacks

This commit is contained in:
Alex
2023-08-11 14:00:48 +02:00
parent 368996dede
commit 71d2ade361
+2 -2
View File
@@ -14,8 +14,8 @@ if "CME" not in cme_config.sections():
cme_workspace = cme_config.get("CME", "workspace", fallback="default")
config_log = cme_config.getboolean("CME", "log_mode", fallback=False)
ignore_opsec = cme_config.getboolean("CME", "ignore_opsec", fallback=False)
pwned_label = cme_config.get("CME", "pwn3d_label")
audit_mode = cme_config.get("CME", "audit_mode")
pwned_label = cme_config.get("CME", "pwn3d_label", fallback="Pwn3d!")
audit_mode = cme_config.get("CME", "audit_mode", fallback=False)
reveal_chars_of_pwd = int(cme_config.get("CME", "reveal_chars_of_pwd", fallback=0))
# this should probably be put somewhere else, but if it's in the config helpers, there is a circular import