Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions DMMGamePlayerFastLauncher/lib/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ def __ne__(self, other: "Version"):
return not self.__eq__(other)

def __lt__(self, other: "Version"):
return self.major < other.major or self.minor < other.minor or self.patch < other.patch
return (self.major, self.minor, self.patch) < (other.major, other.minor, other.patch)

def __le__(self, other: "Version"):
return self.__eq__(other) or self.__lt__(other)

def __gt__(self, other: "Version"):
return self.major > other.major or self.minor > other.minor or self.patch > other.patch
return (self.major, self.minor, self.patch) > (other.major, other.minor, other.patch)

def __ge__(self, other: "Version"):
return self.__eq__(other) or self.__gt__(other)
Expand Down