mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2024-11-17 07:48:18 +01:00
Fixed for checksum
This commit is contained in:
parent
c1564d7a61
commit
ceec6a9972
1 changed files with 2 additions and 1 deletions
|
@ -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 ''
|
||||
|
|
Loading…
Reference in a new issue