Skip to content

Commit

Permalink
Update weblate/glossary/tasks.py
Browse files Browse the repository at this point in the history
Co-authored-by: Michal Čihař <[email protected]>
  • Loading branch information
gersona and nijel authored Oct 10, 2024
1 parent c6cd77e commit bf4066a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion weblate/glossary/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,6 @@ def can_delete(_glossary: Translation) -> bool:
for glossary in glossary_translations:
if can_delete(glossary):
glossary.remove(get_anonymous())
transaction.on_commit(glossary.stats.update_parents)
if glossary.component not in component_to_check:
component_to_check.append(glossary.component)

Expand Down

0 comments on commit bf4066a

Please sign in to comment.