Converted bs4 from Python 2 to Python 3, and there was a missing bracket. Not sure how that happened.