Skip to content

Commit

Permalink
fix bug in FeedScanner, update CHANGELOG.md (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
EverettSummer authored Jul 8, 2023
1 parent 704a2dd commit 9a31c1c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Changelog

## 4.3.1
Fix a bug in FeedScanner

## 4.3.0
Add episodeNo in FileMapping

Expand Down
2 changes: 1 addition & 1 deletion taskrunner/FeedScanner.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ def __add_download(self, video_file_list):
first_video_file = same_torrent_video_file_list[0][0]
file_mapping = None
video_id = None
if len(same_torrent_video_file_list) > 1 or same_torrent_video_file_list[0].file_path is not None:
if len(same_torrent_video_file_list) > 1 or same_torrent_video_file_list[0][0].file_path is not None:
file_mapping = [{
'filePath': video_file.file_path,
'videoId': str(video_file.id),
Expand Down

0 comments on commit 9a31c1c

Please sign in to comment.