Set default source for print_log()
This commit is contained in:
parent
155dd4ce3f
commit
d5a2a2a82e
|
@ -5,7 +5,7 @@ import time
|
|||
|
||||
# Some messages pass a True or False as should_print depending on config variables
|
||||
# Default to true, but return doing nothing if they pass a False.
|
||||
def print_log(source, message, should_print=True):
|
||||
def print_log(source="None", message, should_print=True):
|
||||
if should_print == False:
|
||||
return
|
||||
|
||||
|
|
Loading…
Reference in New Issue