This commit is contained in:
dosangyoon
2022-02-07 03:38:15 +09:00
parent 3db4f6e72d
commit 93966cea1e
8 changed files with 76 additions and 38 deletions

View File

@@ -34,7 +34,7 @@ class PricePredictor:
rowid = 1
cursor.execute('SELECT * FROM stock WHERE rowid=?', (rowid,))
result = cursor.fetchone()
while result != None:
while result is not None:
prices = json.loads(result[2])
stock = []
for price in prices: