# HG changeset patch # User Teemu Piippo # Date 1525459467 -10800 # Node ID 9b5e6b5e5e0b1be5a62c1a2ddd0e516456ded716 # Parent 0726eb9bc9d186762717bc66ff157def2edb16ef .. 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 (