Fixed for checksum

This commit is contained in:
Dimitris Zlatanidis 2023-04-03 21:19:16 +03:00
parent c1564d7a61
commit ceec6a9972

View file

@ -104,9 +104,10 @@ class BinQueries(Configs):
""" Returns the binary package checksum. """
md5: tuple = self.session.query(
BinariesTable.checksum).filter(
BinariesTable.name == self.name).where(
BinariesTable.package == self.name).where(
BinariesTable.repo == self.repo).first()
print(md5, self.name, self.repo)
if md5:
return md5[0]
return ''