فهرست منبع

Book selection question rendering improved

Jovian (Netbook) 6 سال پیش
والد
کامیت
820adb34b8
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      cli/book_asker.py

+ 1 - 1
cli/book_asker.py

@@ -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']