Skip to content

Commit d486b90

Browse files
committed
Update logging messages in Game model to reflect formatted playtime changes
1 parent c31116b commit d486b90

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/app/models.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1286,13 +1286,13 @@ def increase_progress(self):
12861286
"""Increase the progress of the media by 30 minutes."""
12871287
self.progress += 30
12881288
self.save()
1289-
logger.info("Watched %s E%s", self, self.progress)
1289+
logger.info("Changed playtime of %s to %s", self, self.formatted_progress)
12901290

12911291
def decrease_progress(self):
12921292
"""Decrease the progress of the media by 30 minutes."""
12931293
self.progress -= 30
12941294
self.save()
1295-
logger.info("Unwatched %s E%s", self, self.progress + 1)
1295+
logger.info("Changed playtime of %s to %s", self, self.formatted_progress)
12961296

12971297

12981298
class Book(Media):

0 commit comments

Comments
 (0)