This commit is contained in:
Maximilian Giller 2019-05-18 09:39:17 +02:00
parent 8652ef187c
commit ccf28e52b7

View file

@ -18,9 +18,7 @@ class CryptoListDesign (DesignEntity):
self.draw_design(table_design)
def __fill_post_matrix__ (self):
price,name=CryptoPrices.__get_prices__(self.coin)
x=0
while x < len(name):
row = name[x]+": $"+str(price[x])
prices, coins = CryptoPrices.__get_prices__(self.coin)
for price, coin in zip(prices, coins):
row = coin + ": $" + str(price)
self.__post_matrix__[0].append(row)
x= x+1