fix crash reported by Matthieu Talbot
This commit is contained in:
parent
907fc70b5d
commit
35123e920c
|
@ -1,5 +1,9 @@
|
|||
# Offpunk History
|
||||
|
||||
## 1.0 - Unreleased
|
||||
- Fixed a crash when accessing links in list (thanks Matthieu Talbot for the report)
|
||||
- Fixed a crash due to a typo in a variable name rarely accessed.
|
||||
|
||||
## 0.9 - March 05th 2022
|
||||
- Initial Spartan protocol support
|
||||
- Http links with content above 20Mo are not downloaded during sync (except when explicitely requested)
|
||||
|
|
|
@ -3131,9 +3131,10 @@ archives, which is a special historical list limited in size. It is similar to `
|
|||
else:
|
||||
gi = GeminiItem("file://" + list_path,list)
|
||||
gi = gi.get_link(int(line))
|
||||
display = not self.sync_only
|
||||
self._go_to_gi(gi,handle=display)
|
||||
return gi.url
|
||||
display = not self.sync_only
|
||||
if gi:
|
||||
self._go_to_gi(gi,handle=display)
|
||||
return gi.url
|
||||
|
||||
def list_show(self,list):
|
||||
list_path = self.list_path(list)
|
||||
|
|
Loading…
Reference in New Issue