mirror of
https://github.com/meeb/tubesync.git
synced 2025-06-24 22:16:37 +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)
|
timestamp = video.get(fields('timestamp', media), None)
|
||||||
if timestamp is not None:
|
if timestamp is not None:
|
||||||
try:
|
try:
|
||||||
published_dt = media.metadata_published(timestamp)
|
published_dt = media.ts_to_dt(timestamp)
|
||||||
except AssertionError:
|
except AssertionError:
|
||||||
pass
|
pass
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user