slqite fix
This commit is contained in:
@@ -88,7 +88,7 @@ class Spritpreise(DbEntity):
|
||||
if entryName not in self.fuelInfos:
|
||||
self.fuelInfos[entryName] = {"3": None, "5": None, "6": None, "7": None}
|
||||
|
||||
city = re.match("(\d{5}) (.*?)", location["city"])
|
||||
city = re.match(r"(\d{5}) (.*?)", location["city"])
|
||||
address = re.match(r"(.+?)\s+(\d+[a-zA-Z]?)$", location["street"])
|
||||
|
||||
self.fuelInfos[entryName]["street"] = address.group(1)
|
||||
|
||||
Reference in New Issue
Block a user