Skip to content
Snippets Groups Projects
Commit 45293707 authored by Ryan Sanford's avatar Ryan Sanford Committed by GitHub
Browse files

Merge pull request #615 from scitran/upgrade-fix

Resolve dmv2 upgrade issue
parents 10a61b6d ced449ef
No related branches found
No related tags found
No related merge requests found
......@@ -610,7 +610,7 @@ def upgrade_to_21():
updated_files.append(file_)
if update.get('$set'):
update['$set']['files': updated_files]
update['$set']['files'] = updated_files
else:
update['$set'] = {'files': updated_files}
......
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