Skip to content

Commit e948839

Browse files
committed
feat: have timerange have a default display way
1 parent 587ec51 commit e948839

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

freqtrade/configuration/timerange.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,9 @@ def stop_fmt(self) -> str:
8080
val = stopdt.strftime(DATETIME_PRINT_FORMAT)
8181
return val
8282

83+
def __repr__(self) -> str:
84+
return f"TimeRange({self.timerange_str})"
85+
8386
def __eq__(self, other):
8487
"""Override the default Equals behavior"""
8588
return (

0 commit comments

Comments
 (0)