Skip to content

Commit

Permalink
Rename variable in example code snippet
Browse files Browse the repository at this point in the history
  • Loading branch information
Maciej Olko committed Aug 16, 2021
1 parent be88d26 commit 3417434
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,11 @@ Code (installation of translation omitted):
user = _('user')
group = _('group')

list = []
selected = []

for o in (user, group):
print(_('Select {name} to change').format(name=o))
list.append(input(f'{o.title()}: '))
selected.append(input(f'{o.title()}: '))
With translation file:

Expand Down

0 comments on commit 3417434

Please sign in to comment.