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) self.draw_design(table_design)
def __fill_post_matrix__ (self): def __fill_post_matrix__ (self):
price,name=CryptoPrices.__get_prices__(self.coin) prices, coins = CryptoPrices.__get_prices__(self.coin)
x=0 for price, coin in zip(prices, coins):
while x < len(name): row = coin + ": $" + str(price)
row = name[x]+": $"+str(price[x])
self.__post_matrix__[0].append(row) self.__post_matrix__[0].append(row)
x= x+1