mirror of https://github.com/hak5/ToorChat.git
More fixes
parent
f55e5a6550
commit
97bcabd19f
|
@ -22,8 +22,10 @@ def get_web_site(visual, site):
|
|||
result_list = string_into_even_peices(result, 200)
|
||||
site_xid = os.urandom(8)
|
||||
length = "%0*d" % (4, len(result_list))
|
||||
|
||||
for index, item in enumerate(result_list):
|
||||
msg = ToorMessage(item, None, ToorChatProtocol.get_web_response_type(), site_xid, str(index), length)
|
||||
index = "%0*d" % (4, index)
|
||||
msg = ToorMessage(item, None, ToorChatProtocol.get_web_response_type(), site_xid, index, length)
|
||||
visual.protocol.send_message(msg)
|
||||
# visual.message_queue.append(msg)
|
||||
except Exception as e:
|
||||
|
|
Loading…
Reference in New Issue