diff --git a/CHANGELOG.md b/CHANGELOG.md index d933ad2..b8125db 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -24,7 +24,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ### Added - 'lightblue' theme - 'black amoled' theme -- Python 3 compatibility +- Python 3 compatibility (tested with Python 3.5 and 3.6) - Accept 'HTTP 202' responses as 'OK' ### Changed diff --git a/digimarks.py b/digimarks.py index bb632e2..4794c46 100644 --- a/digimarks.py +++ b/digimarks.py @@ -267,17 +267,6 @@ class Bookmark(db.Model): class Meta: ordering = (('created_date', 'desc'),) - #def fetch_image(self): - # url_hash = hashlib.md5(self.url).hexdigest() - # filename = 'bookmark-%s.png' % url_hash - - # outfile = os.path.join(MEDIA_ROOT, filename) - # params = [PHANTOM, SCRIPT, self.url, outfile] - - # exitcode = subprocess.call(params) - # if exitcode == 0: - # self.image = os.path.join(MEDIA_URL, filename) - def set_hash(self): """ Generate hash """ self.url_hash = hashlib.md5(self.url.encode('utf-8')).hexdigest() diff --git a/templates/bookmarks.html b/templates/bookmarks.html index ac032bd..2e9c7b9 100644 --- a/templates/bookmarks.html +++ b/templates/bookmarks.html @@ -74,15 +74,6 @@