Commit 0c317886 authored by yogesh.m's avatar yogesh.m

update

parent bb698f06
...@@ -36,10 +36,10 @@ async def get_send_hash(): ...@@ -36,10 +36,10 @@ async def get_send_hash():
hierarchy[display_name.Text] = {} hierarchy[display_name.Text] = {}
hierarchy[display_name.Text]["name"]=identifier_type hierarchy[display_name.Text]["name"]=identifier_type
hierarchy[display_name.Text]["obj"]=pickle.dumps(main_obj) hierarchy[display_name.Text]["obj"]=pickle.dumps(main_obj)
hierarchy["hash"]=hash(str(main_obj)) hierarchy["hash"]=hash(str(hierarchy))
hierarchy=pickle.dumps(hierarchy) hierarchy=pickle.dumps(hierarchy)
UDPClientSocket.sendto(hierarchy, serverAddressPort) UDPClientSocket.sendto(hierarchy, serverAddressPort)
print(hierarchy) #print(hierarchy)
def send_hash(): def send_hash():
asyncio.run(get_send_hash()) asyncio.run(get_send_hash())
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment