summary refs log tree commit diff stats
path: root/ranger/container/tags.py
diff options
context:
space:
mode:
Diffstat (limited to 'ranger/container/tags.py')
-rw-r--r--ranger/container/tags.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/ranger/container/tags.py b/ranger/container/tags.py
index 70a4aa3d..11ac3a5d 100644
--- a/ranger/container/tags.py
+++ b/ranger/container/tags.py
@@ -81,3 +81,7 @@ class Tags(object):
 		for line in f:
 			result.add(line.strip())
 		return result
+
+	def __nonzero__(self):
+		return True
+	__bool__ = __nonzero__