Made some "optional" arguments really optional.
This commit is contained in:
parent
1e1d319238
commit
62f25f3392
1 changed files with 3 additions and 3 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue