remove two prints we do not need
This commit is contained in:
parent
caade489ee
commit
7ad4ff2878
|
@ -113,16 +113,13 @@ class Logger:
|
||||||
and after that all okay'''
|
and after that all okay'''
|
||||||
|
|
||||||
possible_room_jid, possible_nick = jid.split('/', 1)
|
possible_room_jid, possible_nick = jid.split('/', 1)
|
||||||
print possible_room_jid
|
|
||||||
|
|
||||||
cur.execute('SELECT jid_id FROM jids WHERE jid="%s" AND type=%d' %\
|
cur.execute('SELECT jid_id FROM jids WHERE jid="%s" AND type=%d' %\
|
||||||
(possible_room_jid, constants.JID_ROOM_TYPE))
|
(possible_room_jid, constants.JID_ROOM_TYPE))
|
||||||
row = cur.fetchone()
|
row = cur.fetchone()
|
||||||
if row is not None:
|
if row is not None:
|
||||||
print 'PM!!!!!!!!!!!!!'
|
|
||||||
return True
|
return True
|
||||||
else:
|
else:
|
||||||
print 'NOT PM!!!'
|
|
||||||
return False
|
return False
|
||||||
|
|
||||||
def get_jid_id(self, jid):
|
def get_jid_id(self, jid):
|
||||||
|
|
Loading…
Reference in New Issue