mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-05-11 18:10:15 +08:00
fix: 调整变量顺序,更加直观
This commit is contained in:
@@ -770,7 +770,7 @@ class StringUtils:
|
||||
return result
|
||||
|
||||
@staticmethod
|
||||
def compare_version(v1: str, v2: str, compare_type, verbose: bool = False) \
|
||||
def compare_version(v1: str, compare_type: str, v2: str, verbose: bool = False) \
|
||||
-> Tuple[Optional[bool], str | Exception] | Optional[bool]:
|
||||
"""
|
||||
比较两个版本号的大小
|
||||
|
||||
Reference in New Issue
Block a user