Avoid recussion limit on saving video games
This commit is contained in:
@ -107,10 +107,6 @@ class VideoGame(LongPlayScrobblableMixin):
|
|||||||
def get_start_url(self):
|
def get_start_url(self):
|
||||||
return reverse("scrobbles:start", kwargs={"uuid": self.uuid})
|
return reverse("scrobbles:start", kwargs={"uuid": self.uuid})
|
||||||
|
|
||||||
def save(self, **kwargs):
|
|
||||||
super().save(**kwargs)
|
|
||||||
self.fix_metadata()
|
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def seconds_for_completion(self) -> int:
|
def seconds_for_completion(self) -> int:
|
||||||
completion_time = self.run_time_ticks
|
completion_time = self.run_time_ticks
|
||||||
|
|||||||
Reference in New Issue
Block a user