Skip to content

Commit

Permalink
fix(worker): unbound variable when episode url returns HTTP 404
Browse files Browse the repository at this point in the history
  • Loading branch information
jooola committed Dec 28, 2023
1 parent 413b37d commit 2b92a29
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions worker/libretime_worker/tasks.py
Expand Up @@ -59,6 +59,7 @@ def podcast_download(
Status of the podcast download as JSON string.
"""
result: Dict[str, Any] = {"episodeid": episode_id}
tmp_file = None

try:
# Download podcast episode file
Expand Down

0 comments on commit 2b92a29

Please sign in to comment.