mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 02:19:04 +08:00
Fix typing of list of API versions
Contributes to issue CURA-7207.
This commit is contained in:
parent
0c42b1fdea
commit
ea9a9d58b1
@ -73,7 +73,7 @@ class SubscribedPackagesModel(ListModel):
|
||||
self.setItems(self._items)
|
||||
|
||||
@staticmethod
|
||||
def _isAnyVersionCompatible(package_manager: PackageManager, api_versions: [str]) -> bool:
|
||||
def _isAnyVersionCompatible(package_manager: PackageManager, api_versions: List[str]) -> bool:
|
||||
"""
|
||||
Check a list of version numbers if any of them applies to our
|
||||
application.
|
||||
|
Loading…
x
Reference in New Issue
Block a user