Explorar o código

Product name visible when writting a quantity

Jovian (Netbook) %!s(int64=6) %!d(string=hai) anos
pai
achega
0f79d79c98
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      cli/quantity_asker.py

+ 1 - 0
cli/quantity_asker.py

@@ -13,6 +13,7 @@ class QuantityAsker:
         ]
 
     def askForOne(self, name):
+        self.widget[0]['message'] = 'Quantity for ' + name + ' (g)'
         return int(prompt(self.widget)['number'])
 
     def askForEachOf(self, nameList):