Remove extra '[' from squidgeorgpeja Rating when no stars.

This commit is contained in:
Jim Miller 2012-09-17 12:29:12 -05:00
parent 0f77c2428b
commit e5b0974d0e

View file

@ -156,6 +156,8 @@ class SquidgeOrgPejaAdapter(BaseSiteAdapter):
#self.story.setMetadata('description',stripHTML(svalue))
if 'Rated' in label:
if value.endswith("["):
value = value[:-1]
self.story.setMetadata('rating', value)
if 'Characters' in label: