mirror of
https://github.com/pretix/pretix.git
synced 2026-05-04 15:04:03 +00:00
Add check-in simulator (#3380)
This commit is contained in:
@@ -213,7 +213,7 @@ class Logic():
|
||||
|
||||
data = data or {}
|
||||
|
||||
operator = list(tests.keys())[0]
|
||||
operator = [k for k in tests.keys() if not k.startswith("__")][0]
|
||||
values = tests[operator]
|
||||
|
||||
# Easy syntax for unary operators, like {"var": "x"} instead of strict
|
||||
|
||||
Reference in New Issue
Block a user