Skip to content

Commit

Permalink
removed prints, having proper solution to upload workers from mconnect
Browse files Browse the repository at this point in the history
  • Loading branch information
sniedzielski committed Oct 23, 2024
1 parent e3faa64 commit 131a236
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions worker_voucher/services.py
Original file line number Diff line number Diff line change
Expand Up @@ -518,13 +518,10 @@ def _upload_record_with_worker(self, economic_unit, row):
})
data_from_mconnect = self._fetch_data_from_mconnect(chf_id, ph)
is_mconnect_success = data_from_mconnect.get("success", False)
print(is_mconnect_success, 'is mconnect succcess')
if not is_mconnect_success:
print('added error')
errors.append(data_from_mconnect)
else:
data_from_mconnect.pop('success')
print(data_from_mconnect)
self._add_worker_to_system(chf_id, economic_unit, data_from_mconnect, errors)
return errors if errors else None

Expand Down

0 comments on commit 131a236

Please sign in to comment.