Toggle isPermaLing when changing item url
parent
91251ec306
commit
35fba5ffad
3
feeds.py
3
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)
|
||||
|
|
Loading…
Reference in New Issue