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,9 +418,10 @@ class YCDLDBVideoMixin: | |||
|             return status | ||||
| 
 | ||||
|         if author.automark == 'downloaded': | ||||
|             # download_video contains a call to mark_state. | ||||
|             self.download_video(video.id, commit=False) | ||||
| 
 | ||||
|         video.mark_state(author.automark, commit=False) | ||||
|         else: | ||||
|             video.mark_state(author.automark, commit=False) | ||||
| 
 | ||||
|         if commit: | ||||
|             self.commit() | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue