remove unneeded print if not debug
This commit is contained in:
@@ -15,7 +15,7 @@ from .client import *
|
||||
|
||||
|
||||
__copyright__ = 'Copyright 2015 by Taehoon Kim'
|
||||
__version__ = '0.3.1'
|
||||
__version__ = '0.4.0'
|
||||
__license__ = 'BSD'
|
||||
__author__ = 'Taehoon Kim; Moreels Pieter-Jan'
|
||||
__email__ = 'carpedm20@gmail.com'
|
||||
|
@@ -449,9 +449,9 @@ class Client(object):
|
||||
fbid = m['delta']['messageMetadata']['threadKey']['otherUserFbId']
|
||||
name = None
|
||||
self.on_message(mid, fbid, name, message, m)
|
||||
|
||||
else:
|
||||
print(m)
|
||||
if self.debug:
|
||||
print(m)
|
||||
except Exception as e:
|
||||
self.on_message_error(e, m)
|
||||
|
||||
|
Reference in New Issue
Block a user