diff options
author | jcass <john.cass77@gmail.com> | 2016-01-03 08:38:58 +0200 |
---|---|---|
committer | jcass <john.cass77@gmail.com> | 2016-01-03 08:38:58 +0200 |
commit | d91ad251df337bb63ce63800b49e2ec1be34c6f6 (patch) | |
tree | 86c90c48c719423e4abed39b64709c3190f6b26e | |
parent | 9259bdab02ac2aa0dc46893f65214e1834f37d2d (diff) | |
download | pydora-d91ad251df337bb63ce63800b49e2ec1be34c6f6.tar.bz2 pydora-d91ad251df337bb63ce63800b49e2ec1be34c6f6.tar.xz pydora-d91ad251df337bb63ce63800b49e2ec1be34c6f6.zip |
Change attribute type for non-JSON fields.
-rw-r--r-- | pandora/models/pandora.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pandora/models/pandora.py b/pandora/models/pandora.py index ae60740..7c134e1 100644 --- a/pandora/models/pandora.py +++ b/pandora/models/pandora.py | |||
@@ -220,8 +220,8 @@ class AdItem(PlaylistModel): | |||
220 | audio_url = Field("audioUrl") | 220 | audio_url = Field("audioUrl") |
221 | image_url = Field("imageUrl") | 221 | image_url = Field("imageUrl") |
222 | click_through_url = Field("clickThroughUrl") | 222 | click_through_url = Field("clickThroughUrl") |
223 | station_id = Field("stationId") | 223 | station_id = None |
224 | ad_token = Field("adToken") | 224 | ad_token = None |
225 | 225 | ||
226 | @property | 226 | @property |
227 | def is_ad(self): | 227 | def is_ad(self): |