From 1a29ebde6fc2dbf5a205204c7b1e13b7a528bc18 Mon Sep 17 00:00:00 2001 From: Lucian Branescu Mihaila Date: Mon, 05 Jul 2010 13:44:02 +0000 Subject: Fix bookmarks, various other fixes. --- (limited to 'model.py') diff --git a/model.py b/model.py index 38154c4..b4ad62a 100644 --- a/model.py +++ b/model.py @@ -45,7 +45,7 @@ class Model(gobject.GObject): break self.data['shared_links'].insert(index, - {'hash':sha1.new(str(url)).hexdigest(), + {'hash':sha1(str(url)).hexdigest(), 'url':str(url), 'title':str(title), 'thumb':base64.b64encode(thumb), 'owner':str(owner), -- cgit v0.9.1