Force minutes in photo.duration_string.
This commit is contained in:
		
							parent
							
								
									35dbdd27cf
								
							
						
					
					
						commit
						92405e0677
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -1070,7 +1070,7 @@ class Photo(ObjectBase): | ||||||
|     def duration_string(self) -> typing.Optional[str]: |     def duration_string(self) -> typing.Optional[str]: | ||||||
|         if self.duration is None: |         if self.duration is None: | ||||||
|             return 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') |     @decorators.required_feature('photo.generate_thumbnail') | ||||||
|     @worms.atomic |     @worms.atomic | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue