mirror of
https://github.com/meeb/tubesync.git
synced 2025-06-24 14:06:36 +00:00
Remove assertion
This commit is contained in:
parent
ddf9012210
commit
f856caa024
@ -1312,7 +1312,6 @@ class Media(models.Model):
|
|||||||
return self.get_metadata_first_value(('fulltitle', 'title',), '')
|
return self.get_metadata_first_value(('fulltitle', 'title',), '')
|
||||||
|
|
||||||
def ts_to_dt(self, /, timestamp):
|
def ts_to_dt(self, /, timestamp):
|
||||||
assert timestamp is not None
|
|
||||||
try:
|
try:
|
||||||
timestamp_float = float(timestamp)
|
timestamp_float = float(timestamp)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
|
Loading…
Reference in New Issue
Block a user