mirror of
https://git.datalinker.icu/kijai/ComfyUI-KJNodes.git
synced 2026-06-05 01:17:51 +08:00
Update nodes.py
This commit is contained in:
parent
409eda5e29
commit
70a95fa264
@ -2729,7 +2729,7 @@ class SimpleCalculatorKJ:
|
|||||||
|
|
||||||
# Allowed operations
|
# Allowed operations
|
||||||
allowed_operators = {ast.Add: operator.add, ast.Sub: operator.sub, ast.Mult: operator.mul, ast.Div: operator.truediv,
|
allowed_operators = {ast.Add: operator.add, ast.Sub: operator.sub, ast.Mult: operator.mul, ast.Div: operator.truediv,
|
||||||
ast.Pow: operator.pow, ast.USub: operator.neg, ast.UAdd: operator.pos, ast.LShift: operator.lshift, ast.RShift, operator.rshift,
|
ast.Pow: operator.pow, ast.USub: operator.neg, ast.UAdd: operator.pos, ast.LShift: operator.lshift, ast.RShift: operator.rshift,
|
||||||
}
|
}
|
||||||
|
|
||||||
# Allowed functions
|
# Allowed functions
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user