[git fast commit] 02. Feb 2019 - 23:44:56

This commit is contained in:
Yannik Schmidt
2019-02-02 23:44:56 +01:00
parent 576bd104f0
commit 69eeb45042
2 changed files with 3 additions and 3 deletions

View File

@@ -9,7 +9,7 @@ def handleInput(data):
no_log_in_console = False
data, ident = get_event_ident(data)
tmp = ''
print(data)
if data.startswith("quality,"):
t1, t2 = parse_teams(data.lstrip("quality,"))
tmp = TS.quality(t1.values(),t2.values(),t1.keys(), t2.keys())
@@ -42,7 +42,7 @@ def handleInput(data):
else:
print("wtf input: "+data)
if tmp == '':
return
return ("EMPTY")
ret = str(ident+str(tmp)).encode('utf-8')
if not no_log_in_console and ret:
print(ret)

View File

@@ -44,7 +44,7 @@ def parse(f, exit_on_eof=True, start_at_end=False):
lineCount += 1
if lineCount % 100000 == 0:
diff = datetime.now()-startTime
diff = datetime.now() - startTime
print("At Line: {} Tot: {} Per 100k:{}".format(\
lineCount, diff, diff/(lineCount/100000)))