Actually save run time seconds
This commit is contained in:
@ -76,7 +76,9 @@ class WebPage(ScrobblableMixin):
|
|||||||
if not self.run_time_seconds or force:
|
if not self.run_time_seconds or force:
|
||||||
self.run_time_seconds = self.estimated_time_to_read_in_seconds
|
self.run_time_seconds = self.estimated_time_to_read_in_seconds
|
||||||
|
|
||||||
self.save(update_fields=["title", "domain", "extract"])
|
self.save(
|
||||||
|
update_fields=["title", "domain", "extract", "run_time_seconds"]
|
||||||
|
)
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def find_or_create(cls, data_dict: Dict) -> "GeoLocation":
|
def find_or_create(cls, data_dict: Dict) -> "GeoLocation":
|
||||||
|
|||||||
Reference in New Issue
Block a user