mirror of
https://github.com/meeb/tubesync.git
synced 2025-06-18 11:06:36 +00:00
Add the delay_to_eta
function
This commit is contained in:
parent
2378ee8649
commit
19983f06cb
@ -1,5 +1,10 @@
|
||||
|
||||
|
||||
def delay_to_eta(delay, /):
|
||||
from huey.utils import normalize_time
|
||||
return normalize_time(delay=delay)
|
||||
|
||||
|
||||
def h_q_dict(q, /):
|
||||
return dict(
|
||||
scheduled=(q.scheduled_count(), q.scheduled(),),
|
||||
|
Loading…
Reference in New Issue
Block a user