Update all the places we need base_run_time_seconds now
This commit is contained in:
@ -95,8 +95,8 @@ class Task(LongPlayScrobblableMixin):
|
||||
def find_or_create(cls, title: str) -> "Task":
|
||||
task, created = cls.objects.get_or_create(title=title)
|
||||
if created:
|
||||
task.run_time_seconds = 1800
|
||||
task.save(update_fields=["run_time_seconds"])
|
||||
task.base_run_time_seconds = 1800
|
||||
task.save(update_fields=["base_run_time_seconds"])
|
||||
|
||||
return task
|
||||
|
||||
|
||||
Reference in New Issue
Block a user