commit 8dd08fa6092125b6f3f1de8f8b71441eb8a28ab8
parent 518dadb31ee15451685f2ed8003af74670eb5317
Author: Solderpunk <solderpunk@sdf.org>
Date: Tue, 13 Aug 2019 20:39:55 +0300
Fix silly syntax errors.
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/av98.py b/av98.py
@@ -129,7 +129,7 @@ class GeminiItem():
A thin wrapper around urlunparse which avoids inserting standard ports
into URLs just to keep things clean.
"""
- return = urllib.parse.urlunparse((self.scheme,
+ return urllib.parse.urlunparse((self.scheme,
self.host if self.port == standard_ports[self.scheme] else self.host + ":" + str(self.port),
path or self.path, "", query, ""))
@@ -605,7 +605,7 @@ Slow internet connection? Use 'set timeout' to be more patient.""")
@needs_gi
def do_up(self, *args):
"""Go up one directory in the path."""
- self._go_to_gi(self.gi.up()))
+ self._go_to_gi(self.gi.up())
def do_back(self, *args):
"""Go back to the previous gemini item."""
@@ -635,7 +635,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."""
- self._go_to_gi(self.gi.root()))
+ self._go_to_gi(self.gi.root())
def do_tour(self, line):
"""Add index items as waypoints on a tour, which is basically a FIFO