Made some "optional" arguments really optional.

This commit is contained in:
The Wobbler 2025-03-26 14:11:30 +01:00
parent 1e1d319238
commit 62f25f3392

View file

@ -70,7 +70,7 @@ class Log:
self.write(msg, "info", prefix)
def ok(self, msg: str, prefix: str):
def ok(self, msg: str, prefix: str=""):
"""
Shortcut for Log.write(msg, "ok", prefix)
@ -80,7 +80,7 @@ class Log:
self.write(msg, "ok", prefix)
def warning(self, msg: str, prefix: str):
def warning(self, msg: str, prefix: str=""):
"""
Shortcut for Log.write(msg, "warning", prefix)
@ -90,7 +90,7 @@ class Log:
self.write(msg, "warning", prefix)
def error(self, msg: str, prefix: str):
def error(self, msg: str, prefix: str=""):
"""
Shortcut for Log.write(msg, "error", prefix)