Skip to content
Snippets Groups Projects
Commit 75454cdf authored by daniquilez's avatar daniquilez
Browse files

linter corrections

parent c10e9b56
No related branches found
No related tags found
2 merge requests!253[REL] Release 06/11/23,!224Community maps fetcher v1
Pipeline #64078 passed
......@@ -178,17 +178,17 @@ class LandingCmPlace:
def _get_address_txt(self):
address_txt = ""
if self.landing.street:
address_txt += self.landing.street
address_txt = self.landing.street
if self.landing.postal_code:
if address_txt == "":
address_txt += self.landing.postal_code
address_txt = self.landing.postal_code
else:
address_txt += ", " + self.landing.postal_code
if self.landing.city:
if address_txt == "":
address_txt += self.landing.city
address_txt = self.landing.city
else:
address_txt += " " + self.landing.city
address_txt += ", " + self.landing.city
return address_txt
def _get_button_color_configs(self):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment