diff --git a/bot/__init__.py b/bot/__init__.py index ca9c0cb67b9..3caaeb5a21b 100644 --- a/bot/__init__.py +++ b/bot/__init__.py @@ -120,7 +120,7 @@ def getConfig(name: str): try: MEGA_API_KEY = getConfig('MEGA_API_KEY') except KeyError: - LOGGER.warning('MEGA API KEY not provided!') + logging.warning('MEGA API KEY not provided!') MEGA_API_KEY = None try: MEGA_EMAIL_ID = getConfig('MEGA_EMAIL_ID') @@ -128,7 +128,7 @@ def getConfig(name: str): if len(MEGA_EMAIL_ID) == 0 or len(MEGA_PASSWORD) == 0: raise KeyError except KeyError: - LOGGER.warning('MEGA Credentials not provided!') + logging.warning('MEGA Credentials not provided!') MEGA_EMAIL_ID = None MEGA_PASSWORD = None try: