From 35fba5ffadeb33d73c83441ec3c599eb20c21c5b Mon Sep 17 00:00:00 2001 From: pictuga Date: Sat, 16 Nov 2013 19:08:08 +0100 Subject: [PATCH] Toggle isPermaLing when changing item url --- feeds.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/feeds.py b/feeds.py index f2ddb4d..03b9b84 100644 --- a/feeds.py +++ b/feeds.py @@ -503,6 +503,9 @@ class FeedItemRSS(FeedItem): return self.xval('rssfake:link|link') def setLink(self, value): + if self.isPermaLink and self.id == self.link != value: + self.isPermaLink = False + table = { 'rdf:rdf': 'rssfake:link', 'channel': 'link'} element = self.xgetCreate(table)