Skip to content
This repository has been archived by the owner on Mar 15, 2018. It is now read-only.

Commit

Permalink
Clear featured status on now-unfeatured tv websites
Browse files Browse the repository at this point in the history
  • Loading branch information
Allen Short committed Mar 1, 2016
1 parent 5796aff commit abc0b72
Showing 1 changed file with 4 additions and 1 deletion.
Expand Up @@ -138,7 +138,10 @@ def set_featured(self, instance, row):
"BD Featured 1-7 \n"
"(# featured apps 1-7; the remainder, leave blank)")
if featuredNum:
instance.update(tv_featured=abs(int(featuredNum) - 8))
featuredNum = abs(int(featuredNum) - 8)
else:
featuredNum = None
instance.update(tv_featured=featuredNum)

def parse(self, filename):
try:
Expand Down

0 comments on commit abc0b72

Please sign in to comment.