Skip to content

Commit

Permalink
Update app.py
Browse files Browse the repository at this point in the history
  • Loading branch information
shamlymajeed authored Feb 7, 2024
1 parent ba032cf commit c3b072d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dmci/api/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ def _insert_update_method_post(self, cmd, request):

# Run the distributors
err = self._distributor_wrapper(worker)

if err:
msg = "\n".join(err)
self._handle_persist_file(False, full_path, reject_path, msg)
Expand Down Expand Up @@ -195,7 +196,6 @@ def _distributor_wrapper(self, worker):
"""
err = []
status, valid, _, failed, skipped, failed_msg = worker.distribute()

if not status:
err.append("The following distributors failed: %s" %
", ".join(failed))
Expand Down

0 comments on commit c3b072d

Please sign in to comment.