From e8720e3655dd24e64cf4976cbb09c963d1e1d5c4 Mon Sep 17 00:00:00 2001 From: Andrew Dinh <45807756+andrewkdinh@users.noreply.github.com> Date: Tue, 18 Dec 2018 17:59:31 +0000 Subject: [PATCH] Update StockData.py --- StockData.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/StockData.py b/StockData.py index c7689aa..bca450d 100644 --- a/StockData.py +++ b/StockData.py @@ -265,4 +265,5 @@ def main(): Stock.getDates(stock) #Stock.printDates(spy) -main() \ No newline at end of file +if __name__ == "__main__": + main()