From 101d364241d683b559c27b28117b4c94f4fbb008 Mon Sep 17 00:00:00 2001 From: cswimr Date: Wed, 21 Aug 2024 17:21:54 -0400 Subject: [PATCH] misc(aurora): remove a useless logging call --- aurora/models/change.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/aurora/models/change.py b/aurora/models/change.py index 35a722f..ff95a57 100644 --- a/aurora/models/change.py +++ b/aurora/models/change.py @@ -4,7 +4,6 @@ from typing import Literal, Optional from redbot.core.bot import Red -from ..utilities.logger import logger from ..utilities.utils import timedelta_from_string from .base import AuroraBaseModel from .partials import PartialUser @@ -38,8 +37,6 @@ class Change(AuroraBaseModel): def from_dict(cls, bot: Red, data: dict) -> "Change": if isinstance(data, str): data = json.loads(data) - if data.get('duration'): - logger.debug(f"Duration: {data['duration']}") if data.get('duration') and not isinstance(data["duration"], timedelta) and not data["duration"] == "NULL": duration = timedelta_from_string(data["duration"]) elif data.get('duration') and isinstance(data["duration"], timedelta):