Fix ProducerMetadata class bug introduced in #1369

This commit is contained in:
Gustavo Moreira
2024-12-17 13:28:57 +11:00
parent 0b04a138ad
commit 74ff42a12d
+1 -1
View File
@@ -27,7 +27,7 @@ class ProducerMetadata(interfaces.symbols.MetadataInterface):
@property
def version(self) -> Optional[Tuple[int]]:
"""Returns the version of the ISF file producer"""
version = self.version_string()
version = self.version_string
if not version:
return None
if all(x in "0123456789." for x in version):