2
1
mirror of https://github.com/deadc0de6/catcli synced 2024-11-11 13:11:00 +00:00

fix issue when maccess not present

This commit is contained in:
deadc0de6 2018-10-20 18:20:32 +02:00
parent 3a15558410
commit f49028c72c

View File

@ -74,7 +74,8 @@ class Noder:
if not node: if not node:
# node does not exist # node does not exist
return None, True return None, True
if not node.maccess: if not self._has_attr(node, 'maccess') or \
not node.maccess:
# force re-indexing if no maccess # force re-indexing if no maccess
return node, True return node, True
old_maccess = node.maccess old_maccess = node.maccess