update roll check

This commit is contained in:
Junzi Sun 2018-04-04 10:41:55 +02:00
parent 1b3dcef659
commit e821b8fa77

View File

@ -54,9 +54,8 @@ def is50(msg):
if wrongstatus(d, 46, 47, 56):
return False
if d[1:11] != "0000000000":
roll = abs(roll50(msg))
if roll and roll > 60:
roll = roll50(msg)
if (roll is not None) and abs(roll) > 60:
return False
gs = gs50(msg)