Can use print with non string
This commit is contained in:
parent
d95de8c195
commit
c86031ea32
1 changed files with 1 additions and 1 deletions
|
|
@ -365,7 +365,7 @@ class Bot(threading.Thread):
|
|||
def prnt(*args):
|
||||
print("[%s]" % module_name, *args)
|
||||
if hasattr(module, "logger"):
|
||||
module.logger.info(" ".join(args))
|
||||
module.logger.info(" ".join([str(s) for s in args]))
|
||||
module.print = prnt
|
||||
|
||||
# Create module context
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue