mirror of
https://github.com/FAUSheppy/skillbird
synced 2026-03-10 06:41:43 +01:00
[git fast commit] 02. Feb 2019 - 23:44:56
This commit is contained in:
@@ -9,7 +9,7 @@ def handleInput(data):
|
|||||||
no_log_in_console = False
|
no_log_in_console = False
|
||||||
data, ident = get_event_ident(data)
|
data, ident = get_event_ident(data)
|
||||||
tmp = ''
|
tmp = ''
|
||||||
|
print(data)
|
||||||
if data.startswith("quality,"):
|
if data.startswith("quality,"):
|
||||||
t1, t2 = parse_teams(data.lstrip("quality,"))
|
t1, t2 = parse_teams(data.lstrip("quality,"))
|
||||||
tmp = TS.quality(t1.values(),t2.values(),t1.keys(), t2.keys())
|
tmp = TS.quality(t1.values(),t2.values(),t1.keys(), t2.keys())
|
||||||
@@ -42,7 +42,7 @@ def handleInput(data):
|
|||||||
else:
|
else:
|
||||||
print("wtf input: "+data)
|
print("wtf input: "+data)
|
||||||
if tmp == '':
|
if tmp == '':
|
||||||
return
|
return ("EMPTY")
|
||||||
ret = str(ident+str(tmp)).encode('utf-8')
|
ret = str(ident+str(tmp)).encode('utf-8')
|
||||||
if not no_log_in_console and ret:
|
if not no_log_in_console and ret:
|
||||||
print(ret)
|
print(ret)
|
||||||
|
|||||||
Reference in New Issue
Block a user