From 8ef6853f281f59941799935dfa434f9d2a29d989 Mon Sep 17 00:00:00 2001 From: Twentysix Date: Sat, 13 Feb 2016 15:02:00 +0100 Subject: [PATCH] Hotfix Also, added --no-prompt command line option in last commit. When started with it, Red will ignore new modules. Useful when it's hosted on servers. --- red.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/red.py b/red.py index 5e2445362..72ae46126 100644 --- a/red.py +++ b/red.py @@ -272,7 +272,7 @@ def check_configs(): print("\nChoose a prefix (or multiple ones, one at once) for the commands. Type exit when you're done. Example prefix: !") settings["PREFIXES"] = [] new_prefix = "" - while new_prefix.lower() != "exit" and settings["PREFIXES"] != []: + while new_prefix.lower() != "exit" or settings["PREFIXES"] == []: new_prefix = input("Prefix> ") if new_prefix.lower() != "exit" and new_prefix != "": settings["PREFIXES"].append(new_prefix)