mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-06-27 17:42:04 +08:00
SegmentRange: define __repr__
old-commit-hash: 884bd5c7f68018028620821c6b25b5f37e2f7841
This commit is contained in:
@@ -271,3 +271,6 @@ class SegmentRange:
|
||||
|
||||
def __str__(self):
|
||||
return f"{self.dongle_id}/{self.timestamp}" + (f"/{self._slice}" if self._slice else "") + (f"/{self.selector}" if self.selector else "")
|
||||
|
||||
def __repr__(self):
|
||||
return self.__str__()
|
||||
|
||||
Reference in New Issue
Block a user