aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbnewbold <bnewbold@robocracy.org>2016-03-12 02:22:28 +0000
committerbnewbold <bnewbold@robocracy.org>2016-03-12 02:22:28 +0000
commite3d873f6d3d74c5845b57df392e9f28704418970 (patch)
treed02806f4a9e0d6c5ee6e948f0b575d38cac3b629
parent9f4c07024e685235cb10e7f6e0d9a9090c771532 (diff)
downloadpiccast-e3d873f6d3d74c5845b57df392e9f28704418970.zip
piccast-e3d873f6d3d74c5845b57df392e9f28704418970.tar.gz
back up random old change
-rw-r--r--piccast/feeds/management/commands/scrape_feeds.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/piccast/feeds/management/commands/scrape_feeds.py b/piccast/feeds/management/commands/scrape_feeds.py
index 8c3f865..77925ae 100644
--- a/piccast/feeds/management/commands/scrape_feeds.py
+++ b/piccast/feeds/management/commands/scrape_feeds.py
@@ -195,7 +195,7 @@ def scrape_feed(feed_shortname):
if(len(pset['description']) > 0):
p.description = strip_tags(pset['description'])
if(p.description.startswith(u"Similar posts:")):
- p.description = None
+ p.description = ' '
p.save()
print "Great, saved: " + p.title + " (id=" + str(p.id) + ")"
scrape_pics_bypage(p)