Skip to content

Commit 1033a86

Browse files
author
Stylianos Modes
committed
Don't use empty string for tag when no tags configured in config file
1 parent 0cad885 commit 1033a86

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

beaver/config.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ def gettype(self, filename):
9696
def gettags(self, filename):
9797
try:
9898
result = self._getfield(filename, 'tags').split(",")
99+
result = filter(None, result)
99100
return result if result else []
100101
except TypeError:
101102
return []

0 commit comments

Comments
 (0)