Signed-off-by: Johannes Löthberg <[email protected]>
---
 aurweb/git/update.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/aurweb/git/update.py b/aurweb/git/update.py
index 39128f8..5228abc 100755
--- a/aurweb/git/update.py
+++ b/aurweb/git/update.py
@@ -284,7 +284,7 @@ def main():
                            str(commit.id))
 
             if not isinstance(blob, pygit2.Blob):
-                die_commit("not a blob object: {:s}".format(treeobj),
+                die_commit("not a blob object: {:s}".format(str(treeobj.id)),
                            str(commit.id))
 
             if blob.size > max_blob_size:
-- 
2.20.1

Reply via email to