From ed82cad44d4e7431ea9a82aaf0c6977f634885c8 Mon Sep 17 00:00:00 2001 From: Mark Hymers Date: Fri, 20 Mar 2009 21:47:28 +0000 Subject: [PATCH] we're using something which understands typing now Signed-off-by: Mark Hymers --- daklib/dbconn.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daklib/dbconn.py b/daklib/dbconn.py index 60f0cd3e..b532c351 100755 --- a/daklib/dbconn.py +++ b/daklib/dbconn.py @@ -398,7 +398,7 @@ class DBConn(Singleton): else: row = cursor.fetchone() - if row[1] != size or row[2] != md5sum: + if row[1] != int(size) or row[2] != md5sum: res = -2 else: -- 2.39.5