Skip to content

Commit 9b34105

Browse files
committed
bugfix: Fix an occasional compatibility issue when using Excel formulas
1 parent 0c4e80b commit 9b34105

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

xlrd/formula.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -953,7 +953,7 @@ def not_in_name_formula(op_arg, oname_arg):
953953
])
954954
res = Operand(oREF, None, rank, otext)
955955
if bop.kind == oERR or aop.kind == oERR:
956-
res = oERR
956+
res = Operand(oERR)
957957
elif bop.kind == oREF == aop.kind:
958958
if aop.value is not None and bop.value is not None:
959959
assert len(aop.value) == 1

0 commit comments

Comments
 (0)