fix crash reported by Matthieu Talbot
This commit is contained in:
parent
907fc70b5d
commit
35123e920c
|
@ -1,5 +1,9 @@
|
||||||
# Offpunk History
|
# 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
|
## 0.9 - March 05th 2022
|
||||||
- Initial Spartan protocol support
|
- Initial Spartan protocol support
|
||||||
- Http links with content above 20Mo are not downloaded during sync (except when explicitely requested)
|
- Http links with content above 20Mo are not downloaded during sync (except when explicitely requested)
|
||||||
|
|
|
@ -3132,6 +3132,7 @@ archives, which is a special historical list limited in size. It is similar to `
|
||||||
gi = GeminiItem("file://" + list_path,list)
|
gi = GeminiItem("file://" + list_path,list)
|
||||||
gi = gi.get_link(int(line))
|
gi = gi.get_link(int(line))
|
||||||
display = not self.sync_only
|
display = not self.sync_only
|
||||||
|
if gi:
|
||||||
self._go_to_gi(gi,handle=display)
|
self._go_to_gi(gi,handle=display)
|
||||||
return gi.url
|
return gi.url
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue