From: Daira Hopwood Date: Tue, 13 Oct 2015 14:55:00 +0000 (+0100) Subject: Restore a call to increment files_uploaded that was mistakenly removed. X-Git-Url: https://git.rkrishnan.org/simplejson/components/frontends/statistics?a=commitdiff_plain;h=6945b85ce7eec263b936cb67e97e04d227dc83cb;p=tahoe-lafs%2Ftahoe-lafs.git Restore a call to increment files_uploaded that was mistakenly removed. Signed-off-by: Daira Hopwood --- diff --git a/src/allmydata/frontends/magic_folder.py b/src/allmydata/frontends/magic_folder.py index 52b305c3..e8572d05 100644 --- a/src/allmydata/frontends/magic_folder.py +++ b/src/allmydata/frontends/magic_folder.py @@ -357,6 +357,7 @@ class Uploader(QueueMixin): last_downloaded_uri = metadata.get('last_downloaded_uri', None) last_downloaded_timestamp = now self._db.did_upload_version(relpath_u, version, filecap, last_downloaded_uri, last_downloaded_timestamp, pathinfo) + self._count('files_uploaded') d2.addCallback(add_db_entry) return d2 else: