misc(aurora): typehinting

This commit is contained in:
Seaswimmer 2023-12-30 04:13:00 -05:00
parent e1cc6ca1a8
commit 7d2fd89261
Signed by: cswimr
GPG key ID: 1EBC234EEDA901AE

View file

@ -223,7 +223,7 @@ async def send_evidenceformat(interaction: Interaction, case_dict: dict):
)
await interaction.followup.send(content=content, ephemeral=True)
def convert_timedelta_to_str(timedelta: td):
def convert_timedelta_to_str(timedelta: td) -> str:
"""This function converts a timedelta object to a string."""
total_seconds = int(timedelta.total_seconds())
hours = total_seconds // 3600