about summary refs log tree commit diff stats
path: root/ranger
diff options
context:
space:
mode:
authortoonn <toonn@toonn.io>2021-06-22 18:14:22 +0200
committertoonn <toonn@toonn.io>2021-06-22 18:14:22 +0200
commit8181077f3b0afc7b6258a85d3a03b7bce23d316c (patch)
treea4006bccebe35378a08789687aafadaa57847993 /ranger
parentd4db5c618e62cd9c4b94d0ad14e004294b800dc3 (diff)
parent01e4174a21f6bd853693c10d67900bdc3caf9d03 (diff)
downloadranger-8181077f3b0afc7b6258a85d3a03b7bce23d316c.tar.gz
Merge branch 'tags-errors'
Diffstat (limited to 'ranger')
-rw-r--r--ranger/container/tags.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/ranger/container/tags.py b/ranger/container/tags.py
index 50525848..dadb60f0 100644
--- a/ranger/container/tags.py
+++ b/ranger/container/tags.py
@@ -31,7 +31,7 @@ class Tags(FileManagerAware):
         return item in self.tags
 
     def add(self, *items, **others):
-        if len(*items) == 0:
+        if len(items) == 0:
             return
         tag = others.get('tag', self.default_tag)
         self.sync()
@@ -40,7 +40,7 @@ class Tags(FileManagerAware):
         self.dump()
 
     def remove(self, *items):
-        if len(*items) == 0:
+        if len(items) == 0:
             return
         self.sync()
         for item in items:
@@ -51,7 +51,7 @@ class Tags(FileManagerAware):
         self.dump()
 
     def toggle(self, *items, **others):
-        if len(*items) == 0:
+        if len(items) == 0:
             return
         tag = others.get('tag', self.default_tag)
         tag = str(tag)