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()