AV-98-fork

A fork of https://tildegit.org/solderpunk/AV-98
Log (Feed) | Files | Refs (Tags) | README | LICENSE

commit 620800c9da4dfc2f810cbcfb4bc6da191361978e
parent 3d8eecd346c34712e31924f2e8715f61b216f41b
Author: lel <lel@envs.net>
Date:   Sat, 28 Sep 2019 02:40:18 -0400

Fix separate unrelated crash when going up from root

Diffstat:
Mav98.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/av98.py b/av98.py @@ -116,7 +116,7 @@ class GeminiItem(): pathbits.pop() # Don't try to go higher than root if len(pathbits) == 1: - return self.url + return GeminiItem(self.url) # Get rid of bottom component pathbits.pop() new_path = os.path.join(*pathbits)