Commit 48e17521 authored by mamat-rahmat's avatar mamat-rahmat
Browse files

final, masih ngebug

parent b2b69cd2
import socket
import socket
import json
import hashlib
import pymongo
......@@ -425,7 +425,6 @@ def handler(a, c):
data.append( temp["n_item2"] )
data.append( temp["availability"] )
data.append( temp["offer_token"] )
print("+++++" + str(data))
offer_all.append(data)
#ambil dari offer di server lain
......@@ -453,7 +452,6 @@ def handler(a, c):
data.append( offer[3] )
data.append( offer[4] )
data.append( offer[5] )
print("+++++" + str(data))
offer_all.append(data)
dictResponse = { "status" : "ok", "offers" : offer_all }
......
Supports Markdown
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