mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-02-25 03:06:31 +00:00
Use an accessor
This commit is contained in:
parent
a3bf4e0269
commit
7877d8a5cc
@ -468,8 +468,8 @@ class DownloadStatusElement(Element):
|
||||
# See #3311: https://tahoe-lafs.org/trac/tahoe-lafs/ticket/3311
|
||||
@renderer
|
||||
def events(self, req, tag):
|
||||
if not self._download_status.storage_index:
|
||||
return
|
||||
if not self._download_status.get_storage_index():
|
||||
return tag
|
||||
|
||||
srt = self._short_relative_time
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user