From 54817460cc3dda1387f0cec8544b9635987e7d44 Mon Sep 17 00:00:00 2001 From: Andrew Dinh Date: Sun, 19 May 2019 20:59:32 -0700 Subject: [PATCH] Bug fixes Fixed unexpected EOL Changed default time for displaying graphs to 60 seconds --- main.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/main.py b/main.py index 9430779..8e7eeed 100644 --- a/main.py +++ b/main.py @@ -741,7 +741,7 @@ class Stock: print(' =', marketCap) marketCap = marketCap / 1000000 print( - 'Dividing marketCap by 1 million (to work with linear regression module):', marketCap) + 'Dividing marketCap by 1 million:', marketCap) return marketCap elif Stock.indicator == 'Turnover': @@ -1622,6 +1622,8 @@ def plotIndicatorRegression(): Stock.plotIndicatorRegression = False # Ask for how long + Stock.timePlotIndicatorRegression = 60 + ''' if Stock.plotIndicatorRegression is True: timeFound = False print('') @@ -1635,6 +1637,7 @@ def plotIndicatorRegression(): print('Please choose a number greater than zero') else: print('Please choose an integer') + ''' def main():