diff --git a/scripts/logger.py b/scripts/logger.py
index 6c94d30..087a611 100644
--- a/scripts/logger.py
+++ b/scripts/logger.py
@@ -70,15 +70,18 @@ genfmt = "{level: <10} @ {time:YYYY-MM-DD HH:mm:ss}INIT | {extra[status]: <10} | {message}"
msgfmt = "{level: <10} | {message}"
-logger.level("GENERATION", no=24, color="")
-logger.level("PROMPT", no=23, color="")
-logger.level("INIT", no=31, color="")
-logger.level("INIT_OK", no=31, color="")
-logger.level("INIT_WARN", no=31, color="")
-logger.level("INIT_ERR", no=31, color="")
-# Messages contain important information without which this application might not be able to be used
-# As such, they have the highest priority
-logger.level("MESSAGE", no=61, color="")
+try:
+ logger.level("GENERATION", no=24, color="")
+ logger.level("PROMPT", no=23, color="")
+ logger.level("INIT", no=31, color="")
+ logger.level("INIT_OK", no=31, color="")
+ logger.level("INIT_WARN", no=31, color="")
+ logger.level("INIT_ERR", no=31, color="")
+ # Messages contain important information without which this application might not be able to be used
+ # As such, they have the highest priority
+ logger.level("MESSAGE", no=61, color="")
+except TypeError:
+ pass
logger.__class__.generation = partialmethod(logger.__class__.log, "GENERATION")
logger.__class__.prompt = partialmethod(logger.__class__.log, "PROMPT")