diff options
author | René 'Necoro' Neumann <necoro@necoro.eu> | 2020-12-13 00:27:00 +0100 |
---|---|---|
committer | René 'Necoro' Neumann <necoro@necoro.eu> | 2020-12-13 00:27:00 +0100 |
commit | 4433fd95e86be0093cd9927aa3e6b601ff3c9586 (patch) | |
tree | efd47aef4bbc32057b1ae05295430499dadc0317 /kosten/app/views/consts.py | |
parent | f69e933c880a4b15624e0725b3ed315984af289e (diff) | |
download | kosten-4433fd95e86be0093cd9927aa3e6b601ff3c9586.tar.gz kosten-4433fd95e86be0093cd9927aa3e6b601ff3c9586.tar.bz2 kosten-4433fd95e86be0093cd9927aa3e6b601ff3c9586.zip |
Fix NULL check query
Diffstat (limited to '')
-rw-r--r-- | kosten/app/views/consts.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kosten/app/views/consts.py b/kosten/app/views/consts.py index 65c0e65..47af1e5 100644 --- a/kosten/app/views/consts.py +++ b/kosten/app/views/consts.py @@ -59,7 +59,7 @@ class ConstForm(F.Form): # init prev_list CE = ConstExpense - filter = (CE.next is None) + filter = (CE.next != None) if cur and cur.id is not None: # not empty filter = sql.or_(CE.next == cur, filter) |