Skip to content

Commit

Permalink
fixes gettext success msg for bulk_data.delete_resources, re #10781
Browse files Browse the repository at this point in the history
  • Loading branch information
whatisgalen committed Apr 22, 2024
1 parent fdc9ef2 commit 6ca9936
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arches/app/etl_modules/bulk_data_deletion.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ def delete_resources(self, userid, loadid, graphid, resourceids, verbose=False):
print(bar)
result["success"] = True
result["deleted_count"] = deleted_count
result["message"] = _(f"Successfully deleted {deleted_count} resources")
result["message"] = _("Successfully deleted {} resources").format(str(deleted_count))
except Exception as e:
logger.exception(e)
result["message"] = _("Unable to delete resources: {}").format(str(e))
Expand Down

0 comments on commit 6ca9936

Please sign in to comment.