|
@@ -15,7 +15,7 @@ class BookAsker:
|
|
|
|
|
|
def select(self, bookList):
|
|
|
for rb in bookList:
|
|
|
- dic = {'key': rb[0], 'value': rb[0], 'name': rb[1].isoformat()}
|
|
|
+ dic = {'key': rb[0], 'value': rb[0], 'name': 'Book ' + str(rb[0]) + ' dued for ' + str(rb[1].isoformat())}
|
|
|
self.widget[0]['choices'].append(dic)
|
|
|
return prompt(self.widget)['id']
|
|
|
|