Commit 65a51a79 authored by Markus Scheidgen's avatar Markus Scheidgen
Browse files

Fixed bad upload processing join check.

parent a8f13a4d
Pipeline #78734 passed with stages
in 20 minutes and 40 seconds
...@@ -1036,7 +1036,7 @@ class Upload(Proc): ...@@ -1036,7 +1036,7 @@ class Upload(Proc):
modified_upload = self._get_collection().find_one_and_update( modified_upload = self._get_collection().find_one_and_update(
{'_id': self.upload_id, 'joined': {'$ne': True}}, {'_id': self.upload_id, 'joined': {'$ne': True}},
{'$set': {'joined': True}}) {'$set': {'joined': True}})
if modified_upload is not None: if modified_upload['joined'] is False:
self.get_logger().info('join') self.get_logger().info('join')
# Before cleaning up, run an additional normalizer on phonon # Before cleaning up, run an additional normalizer on phonon
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment