fix formatting of rnode server urls

This commit is contained in:
malteish 2024-12-28 19:58:49 +01:00
parent c1f04e8e3e
commit ab5798d8de
No known key found for this signature in database
GPG Key ID: DFC69F77A1E2DDDC

View File

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