diff -r 0726eb9bc9d1 -r 9b5e6b5e5e0b service.py --- a/service.py Fri May 04 21:43:46 2018 +0300 +++ b/service.py Fri May 04 21:44:27 2018 +0300 @@ -370,7 +370,7 @@ return length or len(route) from math import inf def route_limit(route): - return (route in night_routes) and 20 else 6 + return (route in night_routes) and 20 or 6 def route_key(route): from math import log return (