Skip to content

Commit

Permalink
dfs
Browse files Browse the repository at this point in the history
  • Loading branch information
swissme8888 committed May 2, 2017
1 parent 1b25ef8 commit cc7a12e
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions server.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,18 +70,17 @@ def upload_file():
bulkdata = filedata1 +filedata2
print(bulkdata)
retData=flipFlopped(bulkdata)
#retData= [["ddfssdf",["32320"],["fdssd"]]]
print(retData)
result = {}
for i in retData:
for j in range(len(i[1])):
result[i[0]+"flipflop #"+str(j)]= i[1][j]
result[i[0]+" flipflop #"+str(j)]= i[1][j]
for j in range(len(i[2])):
result[i[0]+"consistent #"+str(j)]=i[2][j]
result[i[0]+" consistent #"+str(j)]=i[2][j]
return render_template("result.html",result = result)
# first cut file lenghts down the concat them



else:
return app.send_static_file('index.html')


Expand Down

0 comments on commit cc7a12e

Please # to comment.