kopia lustrzana https://github.com/NanoVNA-Saver/nanovna-saver
Fixed Version less than comparison
rodzic
0ba80d092e
commit
f05a2c40a5
|
@ -187,7 +187,7 @@ class Version:
|
|||
return False
|
||||
|
||||
def __lt__(self, other: "Version") -> bool:
|
||||
return other < self
|
||||
return other > self
|
||||
|
||||
def __ge__(self, other: "Version") -> bool:
|
||||
return self > other or self == other
|
||||
|
|
Ładowanie…
Reference in New Issue