Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
proycon committed Mar 10, 2014
1 parent 1c4c89d commit ae4315d
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions formats/folia.py
Expand Up @@ -1346,9 +1346,13 @@ def select(self, Class, set=None, recursive=True, ignore=True, node=None):
doignore = False
for c in ignore:
if c is True:
if not e.auth:
doignore =True
break
try:
if not e.auth:
doignore =True
break
except AttributeError:
#not all elements have auth attribute..
pass
elif c == e.__class__ or issubclass(e.__class__,c):
doignore = True
break
Expand Down

0 comments on commit ae4315d

Please sign in to comment.