Fix logging
This commit is contained in:
parent
af292c45bf
commit
d589f6cd7e
|
@ -308,7 +308,7 @@ class Bot(ClientXMPP):
|
|||
def reply(self, body, to=None, room=None):
|
||||
"""Send back a reply."""
|
||||
if to is None and room is None:
|
||||
self.log("`to` or `room` arguments required for `reply`")
|
||||
self.log.info("`to` or `room` arguments required for `reply`")
|
||||
exit(1)
|
||||
|
||||
if to is not None and room is not None:
|
||||
|
|
Loading…
Reference in New Issue