From cdc8054493ee727c8769653a9140bb87bbce8b96 Mon Sep 17 00:00:00 2001 From: Haris Angelidakis <64154020+harisang@users.noreply.github.com> Date: Tue, 21 Jan 2025 15:34:39 +0200 Subject: [PATCH 1/2] Fix typo in log message (#497) This PR corrects a small typo in a log message --- src/data_sync/sync_data.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/data_sync/sync_data.py b/src/data_sync/sync_data.py index f2160909..8f8e61b2 100644 --- a/src/data_sync/sync_data.py +++ b/src/data_sync/sync_data.py @@ -82,9 +82,7 @@ def __init__(self) -> None: self.end_time = datetime.datetime( current_time.year, current_time.month, 1 ) + relativedelta(months=1) - log.info( - f"No start time set, using beginning of next month {self.end_time}." - ) + log.info(f"No end time set, using beginning of next month {self.end_time}.") else: self.end_time: datetime.datetime = arguments.end_time self.start_time = self.start_time.replace(tzinfo=datetime.timezone.utc) From 97cd3d4fb8d86232b3f65f7183f64a4b96d1e680 Mon Sep 17 00:00:00 2001 From: Haris Angelidakis <64154020+harisang@users.noreply.github.com> Date: Tue, 21 Jan 2025 15:35:09 +0200 Subject: [PATCH 2/2] Fix overdraft message (#500) This PR fixes the currency that is mentioned in the overdraft message --- src/models/overdraft.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/models/overdraft.py b/src/models/overdraft.py index f672d950..15a83470 100644 --- a/src/models/overdraft.py +++ b/src/models/overdraft.py @@ -29,5 +29,5 @@ def eth(self) -> float: def __str__(self) -> str: return ( f"Overdraft(solver={self.account} ({self.name})," - f"period={self.period},owed={self.eth} ETH)" + f"period={self.period},owed={self.eth} native token units)" )