Fix debug
parent
7640e9ee03
commit
1efb4d8543
|
|
@ -13,7 +13,7 @@ def logger(message: str, log_type=0):
|
|||
output = str(message)
|
||||
if log_type == 0:
|
||||
pass
|
||||
elif log_type == 1 and (debug or debug_level == "info"):
|
||||
elif log_type == 1 and (debug and debug_level == "info"):
|
||||
output = f"[INFO]: {output}"
|
||||
elif log_type == 2:
|
||||
output = f"[ERROR]: {output}"
|
||||
|
|
|
|||
Loading…
Reference in New Issue