From 0d62f2ac5a89dac4edbc9e573698882cde8b4bf1 Mon Sep 17 00:00:00 2001 From: Remi PLANEL <rplanel@pasteur.fr> Date: Mon, 4 Mar 2024 10:10:53 +0100 Subject: [PATCH] Fix typo --- backend/analysis/management/commands/clear-sessions-history.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/analysis/management/commands/clear-sessions-history.py b/backend/analysis/management/commands/clear-sessions-history.py index 5482802..928615d 100644 --- a/backend/analysis/management/commands/clear-sessions-history.py +++ b/backend/analysis/management/commands/clear-sessions-history.py @@ -56,5 +56,5 @@ class Command(BaseCommand): # if not, purge it history = AnalysisHistory.objects.filter(galaxy_id=galaxy_id) if not history.exists(): - print(f"Delete orphan history {h.name}.") + print(f"Delete orphan history {h['name']}.") gu.obj_gi.gi.histories.delete_history(galaxy_id, purge=True) -- GitLab