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 3e2f39c commit 6915aeb
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 @@ -8,19 +8,19 @@ class Family(family.Family): # noqa: D101
langs = {
<%- @family_langs.each do |dbname, params| {-%>
'<%= dbname %>': '<%= params["domain"] %>',
<% end -%>
<%- end -%>
}

def scriptpath(self, code):
return {
<%- @family_langs.each do |dbname, params| {-%>
'<%= dbname %>': '/w',
<% end -%>
<%- end -%>
}[code]

def protocol(self, code):
return {
<%- @family_langs.each do |dbname, params| {-%>
'<%= dbname %>': 'https',
<% end -%>
<%- end -%>
}[code]

0 comments on commit 6915aeb

Please sign in to comment.