Skip to content

Commit

Permalink
Revert unused var rename to avoid conflicts with gettext
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmeeking authored Jan 19, 2024
1 parent b7ec059 commit 27a4dfa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wagtail_localize/operations.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def create_translations(self, instance, include_related_objects=True):
return
self.seen_objects.add(instance.translation_key)

source, _ = TranslationSource.get_or_create_from_instance(instance)
source, created = TranslationSource.get_or_create_from_instance(instance)

# Add related objects
# Must be before translation records or those translation records won't be able to create
Expand Down

0 comments on commit 27a4dfa

Please sign in to comment.