[tapas] fix TypeError for locked episodes (#6700)
This commit is contained in:
@@ -85,8 +85,8 @@ class TapasEpisodeExtractor(TapasExtractor):
|
||||
episode = data["episode"]
|
||||
if not episode.get("free") and not episode.get("unlocked"):
|
||||
raise exception.AuthorizationError(
|
||||
"%s: Episode '%s' not unlocked",
|
||||
episode_id, episode["title"])
|
||||
"{}: Episode '{}' not unlocked".format(
|
||||
episode_id, episode["title"]))
|
||||
|
||||
html = data["html"]
|
||||
episode["series"] = self._extract_series(html)
|
||||
|
||||
@@ -6,5 +6,5 @@
|
||||
# it under the terms of the GNU General Public License version 2 as
|
||||
# published by the Free Software Foundation.
|
||||
|
||||
__version__ = "1.28.2"
|
||||
__version__ = "1.28.3-dev"
|
||||
__variant__ = None
|
||||
|
||||
Reference in New Issue
Block a user