summaryrefslogtreecommitdiff
path: root/py-fake-service/app/adapter/tag.py
diff options
context:
space:
mode:
Diffstat (limited to 'py-fake-service/app/adapter/tag.py')
-rw-r--r--py-fake-service/app/adapter/tag.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/py-fake-service/app/adapter/tag.py b/py-fake-service/app/adapter/tag.py
index 73103490..a0f3ec1b 100644
--- a/py-fake-service/app/adapter/tag.py
+++ b/py-fake-service/app/adapter/tag.py
@@ -18,3 +18,6 @@ class Tag:
def increment_read(self):
self.counts['read'] += 1
+
+ def decrement_count(self):
+ self.counts['total'] -= 1