Skip to content

Commit

Permalink
Merge branch 'hotfix/fix-untagged-list' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
artur-shaik committed May 22, 2021
2 parents 519feae + 625741e commit 7094d10
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/wallabag/commands/list.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,10 @@ def validate(self):
result, msg = self._validate_tags()
if not result:
return False, msg
if self.untagged and self.tags:
return False, 'Please set one of `untagged` or `tags` parameter.'
if self.untagged:
if self.tags:
return False, 'Please set one of `untagged` or `tags` parameter.'
self.quantity = sys.maxsize
return True, None


Expand Down

0 comments on commit 7094d10

Please sign in to comment.