mirror of
https://github.com/meeb/tubesync.git
synced 2025-06-24 14:06:36 +00:00
Call Media.ts_to_dt
function instead
This commit is contained in:
parent
f856caa024
commit
0b37aa3d9f
@ -332,7 +332,7 @@ def index_source_task(source_id):
|
||||
timestamp = video.get(fields('timestamp', media), None)
|
||||
if timestamp is not None:
|
||||
try:
|
||||
published_dt = media.metadata_published(timestamp)
|
||||
published_dt = media.ts_to_dt(timestamp)
|
||||
except AssertionError:
|
||||
pass
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user