mirror of
https://github.com/meeb/tubesync.git
synced 2025-06-23 05:26:37 +00:00
fixup: missed one of the users of a removed attribute
This commit is contained in:
parent
6768fe4385
commit
811bbdf57f
@ -1352,7 +1352,7 @@ class Media(models.Model):
|
||||
|
||||
def get_download_state_icon(self, task=None):
|
||||
state = self.get_download_state(task)
|
||||
return self.STATE_ICONS.get(state, self.STATE_ICONS[self.STATE_UNKNOWN])
|
||||
return self.STATE_ICONS.get(state, self.STATE_ICONS[V(MediaState.UNKNOWN)])
|
||||
|
||||
def download_media(self):
|
||||
format_str = self.get_format_str()
|
||||
|
Loading…
Reference in New Issue
Block a user