Fixed stray newline in URL

This commit is contained in:
Mark Qvist 2024-12-15 11:38:12 +01:00
parent 426c9d9617
commit e083fd2fb4

View File

@ -3753,11 +3753,11 @@ class SidebandApp(MDApp):
else:
ipstr = ""
for ip in ips:
ipstr += "https://"+str(ip)+":4444/\n"
ipstr += "https://"+str(ip)+":4444/"
self.reposository_url = ipstr
ms = "" if len(ips) == 1 else "es"
info += "The repository server is running at the following address"+ms+":\n [u][ref=link]"+ipstr+"[/ref][u]"
info += "The repository server is running at the following address"+ms+":\n [u][ref=link]"+ipstr+"[/ref][u]\n"
self.repository_screen.ids.repository_info.bind(on_ref_press=self.repository_link_action)
def cb(dt):