diff --git a/penn/dining.py b/penn/dining.py index 99f5e17..6c98285 100644 --- a/penn/dining.py +++ b/penn/dining.py @@ -47,6 +47,7 @@ def normalize_weekly(data): def get_meals(v2_response, building_id): + """Extract meals into old format from a DiningV2 JSON response""" result_data = v2_response["result_data"] meals = [] day_parts = result_data["days"][0]["cafes"][building_id]["dayparts"][0] diff --git a/penn/directory.py b/penn/directory.py index 4c5be2a..11bbfc5 100644 --- a/penn/directory.py +++ b/penn/directory.py @@ -1,6 +1,6 @@ from os import path -from .base import WrapperBase from nameparser import HumanName +from .base import WrapperBase BASE_URL = "https://esb.isc-seo.upenn.edu/8091/open_data/" diff --git a/setup.py b/setup.py index b25c001..0e4adb4 100644 --- a/setup.py +++ b/setup.py @@ -7,7 +7,7 @@ url='https://github.com/pennlabs/penn-sdk-python', author='Penn Labs', author_email='pennappslabs@gmail.com', - version='1.3.0', + version='1.3.1', packages=['penn'], license='MIT', package_data={