mirror of
https://github.com/markqvist/Sideband.git
synced 2025-01-29 16:33:20 -05:00
fix formatting of rnode server urls
This commit is contained in:
parent
c1f04e8e3e
commit
ab5798d8de
@ -3753,11 +3753,11 @@ class SidebandApp(MDApp):
|
|||||||
else:
|
else:
|
||||||
ipstr = ""
|
ipstr = ""
|
||||||
for ip in ips:
|
for ip in ips:
|
||||||
ipstr += "https://"+str(ip)+":4444/"
|
ipstr += "[u][ref=link]https://" + str(ip) + ":4444/[/ref][u]\n"
|
||||||
self.reposository_url = ipstr
|
self.repository_url = ipstr
|
||||||
|
|
||||||
ms = "" if len(ips) == 1 else "es"
|
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)
|
self.repository_screen.ids.repository_info.bind(on_ref_press=self.repository_link_action)
|
||||||
|
|
||||||
def cb(dt):
|
def cb(dt):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user