From 7877d8a5cc9cfebddb48c76cd971632f9e9dac24 Mon Sep 17 00:00:00 2001 From: Sajith Sasidharan Date: Tue, 7 Jul 2020 19:55:14 -0400 Subject: [PATCH] Use an accessor --- src/allmydata/web/status.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/allmydata/web/status.py b/src/allmydata/web/status.py index fe9043563..db11cc6e7 100644 --- a/src/allmydata/web/status.py +++ b/src/allmydata/web/status.py @@ -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