Skip to content
Snippets Groups Projects
Commit 9b2c618c authored by Megan Henning's avatar Megan Henning
Browse files

Query should look for False not True

parent 5fa6be22
No related branches found
No related tags found
No related merge requests found
......@@ -319,7 +319,7 @@ def upgrade_to_11():
into a list where the key becomes the field `input`
"""
jobs = config.db.jobs.find({'inputs.type': {'$exists': True}})
jobs = config.db.jobs.find({'inputs.type': {'$exists': False}})
for job in jobs:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment