Remove redundant call to mark_state during automark download.
This commit is contained in:
parent
18f617a45b
commit
9a47ff00ee
1 changed files with 3 additions and 2 deletions
|
@ -418,8 +418,9 @@ class YCDLDBVideoMixin:
|
||||||
return status
|
return status
|
||||||
|
|
||||||
if author.automark == 'downloaded':
|
if author.automark == 'downloaded':
|
||||||
|
# download_video contains a call to mark_state.
|
||||||
self.download_video(video.id, commit=False)
|
self.download_video(video.id, commit=False)
|
||||||
|
else:
|
||||||
video.mark_state(author.automark, commit=False)
|
video.mark_state(author.automark, commit=False)
|
||||||
|
|
||||||
if commit:
|
if commit:
|
||||||
|
|
Loading…
Reference in a new issue