From 293e0e83f623faf18ea19d67ff17731cb35de8f8 Mon Sep 17 00:00:00 2001 From: Arash Date: Fri, 8 Nov 2024 13:53:06 +0100 Subject: [PATCH] Fix history_attrs file to include non-ascii characters --- lib/galaxy/model/store/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/galaxy/model/store/__init__.py b/lib/galaxy/model/store/__init__.py index a3bf6a6ec896..a432f9145d82 100644 --- a/lib/galaxy/model/store/__init__.py +++ b/lib/galaxy/model/store/__init__.py @@ -2174,7 +2174,7 @@ def export_history( history_attrs = history.serialize(app.security, self.serialization_options) history_attrs_filename = os.path.join(export_directory, ATTRS_FILENAME_HISTORY) with open(history_attrs_filename, "w") as history_attrs_out: - dump(history_attrs, history_attrs_out) + dump(history_attrs, history_attrs_out, ensure_ascii=False) sa_session = app.model.session