diff --git a/redbot/__main__.py b/redbot/__main__.py index 9e2083e88..ad28cb383 100644 --- a/redbot/__main__.py +++ b/redbot/__main__.py @@ -41,7 +41,7 @@ def init_loggers(cli_flags): logger = logging.getLogger("red") red_format = logging.Formatter( - "%(asctime)s %(levelname)s %(module)s %(funcName)s %(lineno)d: " "%(message)s", + "%(asctime)s %(levelname)s %(module)s %(funcName)s %(lineno)d: %(message)s", datefmt="[%d/%m/%Y %H:%M]", ) diff --git a/redbot/launcher.py b/redbot/launcher.py index e85778d7f..09757ccda 100644 --- a/redbot/launcher.py +++ b/redbot/launcher.py @@ -25,9 +25,7 @@ if sys.platform == "linux": PYTHON_OK = sys.version_info >= (3, 5) INTERACTIVE_MODE = not len(sys.argv) > 1 # CLI flags = non-interactive -INTRO = ( - "==========================\n" "Red Discord Bot - Launcher\n" "==========================\n" -) +INTRO = "==========================\nRed Discord Bot - Launcher\n==========================\n" IS_WINDOWS = os.name == "nt" IS_MAC = sys.platform == "darwin" @@ -457,7 +455,7 @@ def main_menu(): def main(): if not PYTHON_OK: raise RuntimeError( - "Red requires Python 3.5 or greater. " "Please install the correct version!" + "Red requires Python 3.5 or greater. Please install the correct version!" ) if args.debuginfo: # Check first since the function triggers an exit debug_info() diff --git a/redbot/setup.py b/redbot/setup.py index 58ea85879..10cca6362 100644 --- a/redbot/setup.py +++ b/redbot/setup.py @@ -32,7 +32,7 @@ if not config_dir: try: config_dir.mkdir(parents=True, exist_ok=True) except PermissionError: - print("You don't have permission to write to " "'{}'\nExiting...".format(config_dir)) + print("You don't have permission to write to '{}'\nExiting...".format(config_dir)) sys.exit(1) config_file = config_dir / "config.json" @@ -101,7 +101,7 @@ def get_data_dir(): ) sys.exit(1) - print("You have chosen {} to be your data directory." "".format(default_data_dir)) + print("You have chosen {} to be your data directory.".format(default_data_dir)) if not confirm("Please confirm (y/n):"): print("Please start the process over.") sys.exit(0)