diff options
Diffstat (limited to 'pandora/models/ad.py')
-rw-r--r-- | pandora/models/ad.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pandora/models/ad.py b/pandora/models/ad.py index ad4b7b0..48cd302 100644 --- a/pandora/models/ad.py +++ b/pandora/models/ad.py | |||
@@ -24,8 +24,9 @@ class AdItem(PlaylistModel): | |||
24 | if self.tracking_tokens: | 24 | if self.tracking_tokens: |
25 | self._api_client.register_ad(station_id, self.tracking_tokens) | 25 | self._api_client.register_ad(station_id, self.tracking_tokens) |
26 | else: | 26 | else: |
27 | raise ParameterMissing('No ad tracking tokens provided for ' | 27 | raise ParameterMissing( |
28 | 'registration.') | 28 | "No ad tracking tokens provided for registration." |
29 | ) | ||
29 | 30 | ||
30 | def prepare_playback(self): | 31 | def prepare_playback(self): |
31 | try: | 32 | try: |