update zotero check version to 6.0.* 7.0.*

This commit is contained in:
shenyutao 2024-06-03 16:13:21 +08:00
parent 0e20e90db6
commit eff9049a19

View File

@ -39,9 +39,9 @@ class AddonInfoRelease:
@property @property
def zotero_check_version(self) -> str: def zotero_check_version(self) -> str:
if self.targetZoteroVersion == '6': if self.targetZoteroVersion == '6':
return '6.*' return '6.0.*'
elif self.targetZoteroVersion == '7': elif self.targetZoteroVersion == '7':
return '7.*' return '7.0.*'
raise Exception(f'Invalid targetZoteroVersion({self.targetZoteroVersion})') raise Exception(f'Invalid targetZoteroVersion({self.targetZoteroVersion})')
@property @property