From 92405e0677928413fd12c9dce6b75e17cdc83f18 Mon Sep 17 00:00:00 2001 From: Ethan Dalool Date: Sat, 29 Oct 2022 14:21:25 -0700 Subject: [PATCH] Force minutes in photo.duration_string. --- etiquette/objects.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etiquette/objects.py b/etiquette/objects.py index 43b1e59..e5935e6 100644 --- a/etiquette/objects.py +++ b/etiquette/objects.py @@ -1070,7 +1070,7 @@ class Photo(ObjectBase): def duration_string(self) -> typing.Optional[str]: if self.duration is None: return None - return hms.seconds_to_hms(self.duration) + return hms.seconds_to_hms(self.duration, force_minutes=True) @decorators.required_feature('photo.generate_thumbnail') @worms.atomic