Fix hacking to include scheme in GeminiItems.

This commit is contained in:
Solderpunk 2019-08-12 21:48:57 +03:00
parent 9d7a40fb78
commit f1ef1a1211
1 changed files with 1 additions and 1 deletions

View File

@ -658,7 +658,7 @@ Slow internet connection? Use 'set timeout' to be more patient.""")
@needs_gi
def do_root(self, *args):
"""Go to root selector of the server hosting current item."""
gi = GeminiItem(self.gi.host, self.gi.port, "",
gi = GeminiItem(self.gi.scheme, self.gi.host, self.gi.port, "",
"Root of %s" % self.gi.host)
self._go_to_gi(gi)