Commit d5a2a2a8 authored by Dominik V. Salonen's avatar Dominik V. Salonen

Set default source for print_log()

parent 155dd4ce
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment