diff options
author | Mike Crute <mike@crute.us> | 2020-06-08 18:20:57 +0000 |
---|---|---|
committer | Mike Crute <mike@crute.us> | 2020-06-08 18:20:57 +0000 |
commit | 3681a9b616212656462efa0a9c78722f90cca442 (patch) | |
tree | 0199712af2f8abc5635d57d7e18ec63fe6d8b58e /pandora/models/ad.py | |
parent | 13b779eafd66a37ad5c50fa9be2bbc7962a73fce (diff) | |
download | pydora-3681a9b616212656462efa0a9c78722f90cca442.tar.bz2 pydora-3681a9b616212656462efa0a9c78722f90cca442.tar.xz pydora-3681a9b616212656462efa0a9c78722f90cca442.zip |
Use black for formatting
I don't particularly like the black formatter (does anybody, really?)
but it's guaranteed to be consistent so it should prevent nitpicking
style.
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: |