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:
parent
3a15558410
commit
f49028c72c
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user