Kleiner Fix, falls ein Leerzeichen vom Sivas mitkommt, wird die Datei nicht gefunden.
This commit is contained in:
+1
-1
@@ -99,7 +99,7 @@ def prepare_data(rawdata:dict):
|
||||
for sname, sdata in sensors.items():
|
||||
dsensors[sname] = {
|
||||
"point": Point(sdata["pos"]),
|
||||
"artinr": sdata.get("ARTINR","")
|
||||
"artinr": sdata.get("ARTINR","").strip()
|
||||
}
|
||||
|
||||
subdists = rawdata["distributors"]
|
||||
|
||||
Reference in New Issue
Block a user