From bbfb92d36be227d50f3002883665a98f735e0b1c Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Mon, 21 Jun 2021 15:59:35 +0100 Subject: [PATCH] Remove newline --- city.py | 1 + 1 file changed, 1 insertion(+) diff --git a/city.py b/city.py index 8edf14e1b..1726966d3 100644 --- a/city.py +++ b/city.py @@ -130,6 +130,7 @@ def _getCityPulse(currTimeOfDay, decoySeed: int) -> (float, float): def parseNogoString(nogoLine: str) -> []: """Parses a line from locations_nogo.txt and returns the polygon """ + nogoLine = nogoLine.replace('\n', '').replace('\r', '') polygonStr = nogoLine.split(':', 1)[1] if ';' in polygonStr: pts = polygonStr.split(';')