mirror of
https://github.com/meeb/tubesync.git
synced 2025-06-23 13:36:35 +00:00
Adjust the seconds_to_timestr
import in sync/tasks.py
This commit is contained in:
parent
7b23d3b0f0
commit
2c67b2f31c
@ -31,11 +31,11 @@ from common.errors import ( NoFormatException, NoMediaException,
|
|||||||
NoThumbnailException,
|
NoThumbnailException,
|
||||||
DownloadFailedException, )
|
DownloadFailedException, )
|
||||||
from common.utils import ( django_queryset_generator as qs_gen,
|
from common.utils import ( django_queryset_generator as qs_gen,
|
||||||
remove_enclosed, )
|
remove_enclosed, seconds_to_timestr, )
|
||||||
from .choices import Val, TaskQueue
|
from .choices import Val, TaskQueue
|
||||||
from .models import Source, Media, MediaServer
|
from .models import Source, Media, MediaServer
|
||||||
from .utils import ( get_remote_image, resize_image_to_height,
|
from .utils import ( get_remote_image, resize_image_to_height,
|
||||||
write_text_file, filter_response, seconds_to_timestr, )
|
write_text_file, filter_response, )
|
||||||
from .youtube import YouTubeError
|
from .youtube import YouTubeError
|
||||||
|
|
||||||
db_vendor = db.connection.vendor
|
db_vendor = db.connection.vendor
|
||||||
|
Loading…
Reference in New Issue
Block a user