Commit 7e5bed53 authored by Trevor Cappallo's avatar Trevor Cappallo
Browse files

local output redundancy curbed

parent 43d323bf
......@@ -17,11 +17,16 @@ reSummary = re.compile('^\s*(.*)\*\s+([0-9a-fA-F]+)\s+([0-9a-fA-F]+)\s+([0-9a-fA
oldGames=[]
newGames=[]
recentlySaid=[]
lastData = ""
currentGames={}
cnt=0
def parse_server_poll(data):
print(data)
global lastData
if data != lastData:
print(data)
lastData = data
m = reSummary.match(data)
(listing, summary) = (m.groups()[0], m.groups()[1:])
......
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