Skip to content
Snippets Groups Projects
Commit 0d62f2ac authored by Remi  PLANEL's avatar Remi PLANEL
Browse files

Fix typo

parent 5feaba35
Branches
Tags
1 merge request!13Resolve "Cron Job to clean database and galaxy"
Pipeline #125213 passed
...@@ -56,5 +56,5 @@ class Command(BaseCommand): ...@@ -56,5 +56,5 @@ class Command(BaseCommand):
# if not, purge it # if not, purge it
history = AnalysisHistory.objects.filter(galaxy_id=galaxy_id) history = AnalysisHistory.objects.filter(galaxy_id=galaxy_id)
if not history.exists(): 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) gu.obj_gi.gi.histories.delete_history(galaxy_id, purge=True)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment