diff --git a/CHANGES.txt b/CHANGES.txt index 26953db..2a67d35 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -1,3 +1,7 @@ +0.0.3 (2018-05-27) +=================== +* retrieve thumbnail url + 0.0.2 (2018-05-22) =================== * additional support for password-based authentication diff --git a/panopto/session.py b/panopto/session.py index f789aef..009257c 100644 --- a/panopto/session.py +++ b/panopto/session.py @@ -62,7 +62,7 @@ def get_thumb_url(self, session_id): auth=self.auth_info, sessionIds=[session_id]) if response is None or len(response) < 1: - return '' + return None obj = serialize_object(response) return obj[0]['ThumbUrl'] diff --git a/setup.py b/setup.py index 8163fa6..dcb79d5 100644 --- a/setup.py +++ b/setup.py @@ -27,7 +27,7 @@ setup( name="pypanopto", - version="0.0.2", + version="0.0.3", author="Susan Dreher", author_email="sdreher@columbia.edu", url="https://github.com/ccnmtl/pypanopto",