aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBobby <[email protected]>2024-09-04 15:40:41 -0400
committerBobby <[email protected]>2024-09-04 15:40:41 -0400
commita34f45776fbde5112cb7d219724eb65793ece92a (patch)
tree4008b2426c7519edcb4b73323234e943bd0927bf
parentf50dfcf8411cc1da81e27315b42f58415490a5ef (diff)
downloadyugen-a34f45776fbde5112cb7d219724eb65793ece92a.tar.xz
yugen-a34f45776fbde5112cb7d219724eb65793ece92a.zip
mal fix
-rw-r--r--watch/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/watch/views.py b/watch/views.py
index 1cfaaa1..001040f 100644
--- a/watch/views.py
+++ b/watch/views.py
@@ -340,7 +340,7 @@ def watch(request, anime_id, episode=None):
"seasons": seasons,
}
- if mal_data and request.user.mal_access_token:
+ if request.user.mal_access_token:
context["mal_data"] = mal_data
context["mal_episode_range"] = range(1, mal_data["num_episodes"] + 1)