We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 08a49b1 commit c7d467cCopy full SHA for c7d467c
1 file changed
mkwvconf/mkwvconf.py
@@ -221,15 +221,15 @@ def getModemDevice(self):
221
222
return modemDevice
223
224
- def getUserChoice(self, l, header, prompt):
+ def getUserChoice(self, choices, header, prompt):
225
"""takes a string list, a text prompt and a header, and returns user choice"""
226
227
print('')
228
print(header)
229
230
231
- count = len(l)
232
- for k, v in zip(range(count), l):
+ count = len(choices)
+ for k, v in zip(range(count), choices):
233
print('%s: %s' % (k, v))
234
235
choice = -1
0 commit comments