v/pol
1
0
mirror of https://github.com/taroved/pol synced 2025-05-18 07:10:09 -07:00
This commit is contained in:
Alexandr Nesterenko 2017-10-05 15:16:23 +03:00
parent a6e75a22a3
commit 0ce333e5e7

View File

@ -134,7 +134,7 @@ class Feed(object):
if 'link' in item:
link = item['link']
else:
link = url_hash_regexp.sub('#' + md5((title+desc).encode('utf-8')).hexdigest(), feed_config['uri'])
link = self.url_hash_regexp.sub('#' + md5((title+desc).encode('utf-8')).hexdigest(), feed_config['uri'])
feed.add_item(
title = title,
link = link,