mirror of
https://github.com/meeb/tubesync.git
synced 2025-06-25 06:26:37 +00:00
Import the new functions
This commit is contained in:
parent
6c5b8e040b
commit
c89c4ec28e
@ -40,7 +40,8 @@ from ._migrations import (
|
||||
)
|
||||
from ._private import _srctype_dict, _nfo_element, directory_and_stem
|
||||
from .media__tasks import (
|
||||
download_checklist, download_finished, wait_for_premiere,
|
||||
copy_thumbnail, download_checklist, download_finished,
|
||||
wait_for_premiere, write_nfo,
|
||||
)
|
||||
from .source import Source
|
||||
|
||||
@ -1222,7 +1223,9 @@ class Media(models.Model):
|
||||
|
||||
|
||||
# add imported functions
|
||||
Media.copy_thumbnail = copy_thumbnail
|
||||
Media.download_checklist = download_checklist
|
||||
Media.download_finished = download_finished
|
||||
Media.wait_for_premiere = wait_for_premiere
|
||||
Media.write_nfo = write_nfo
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user