This commit is contained in:
cmdr2 2023-04-18 15:43:56 +05:30
parent 80384e6ee1
commit d8d44c579c

View File

@ -60,7 +60,7 @@ def init():
### utilities ### utilities
def get_allowed_versions(module_name: str, allowed_versions: tuple[str]): def get_allowed_versions(module_name: str, allowed_versions: tuple):
allowed_versions = (allowed_versions,) if isinstance(allowed_versions, str) else allowed_versions allowed_versions = (allowed_versions,) if isinstance(allowed_versions, str) else allowed_versions
latest_version = allowed_versions[-1] latest_version = allowed_versions[-1]