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):
|
def reply(self, body, to=None, room=None):
|
||||||
"""Send back a reply."""
|
"""Send back a reply."""
|
||||||
if to is None and room is None:
|
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)
|
exit(1)
|
||||||
|
|
||||||
if to is not None and room is not None:
|
if to is not None and room is not None:
|
||||||
|
Reference in New Issue
Block a user