Skip to content

Commit

Permalink
Fix syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
redbluegreenhat committed Nov 11, 2024
1 parent 6a2a7af commit c57034a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions modules/irc/templates/pywikibot/wikitide_family.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]

0 comments on commit c57034a

Please sign in to comment.