From c57034ad2322056501879ff10812264c54134671 Mon Sep 17 00:00:00 2001 From: Alex Date: Mon, 11 Nov 2024 20:28:16 +0100 Subject: [PATCH] Fix syntax --- modules/irc/templates/pywikibot/wikitide_family.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/irc/templates/pywikibot/wikitide_family.py b/modules/irc/templates/pywikibot/wikitide_family.py index 063f1379e3..67e2242c02 100644 --- a/modules/irc/templates/pywikibot/wikitide_family.py +++ b/modules/irc/templates/pywikibot/wikitide_family.py @@ -6,21 +6,21 @@ class Family(family.Family): # noqa: D101 name = 'wikitide' langs = { - <% family_langs.each do |$dbname $params| {-%> + <% @family_langs.each do |$dbname $params| {-%> '<%= $dbname %>': '<%= $params["domain"] %>', <% end -%> } def scriptpath(self, code): return { - <% family_langs.each do |$dbname, $params| {-%> + <% @family_langs.each do |$dbname, $params| {-%> '<%= $dbname %>': '/w', <% end -%> }[code] def protocol(self, code): return { - <% family_langs.each do |$dbname $params| {-%> + <% @family_langs.each do |$dbname $params| {-%> '<%= $dbname %>': 'https', <% end -%> }[code]