From 6ceb2ea8ded556e437fe649dcbc55f5e5b1d37ce Mon Sep 17 00:00:00 2001 From: Shivam Jha Date: Mon, 16 Mar 2020 10:56:04 +0530 Subject: [PATCH] Fix logging error --- bot/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot/__init__.py b/bot/__init__.py index 9034147..32565c4 100644 --- a/bot/__init__.py +++ b/bot/__init__.py @@ -28,7 +28,7 @@ LOGGER = logging.getLogger(__name__) try: if bool(getConfig('_____REMOVE_THIS_LINE_____')): - logging.ERROR('The README.md file there to be read! Exiting now!') + logging.error('The README.md file there to be read! Exiting now!') exit() except KeyError: pass