use new python-ox api

This commit is contained in:
j 2012-08-15 17:15:59 +02:00
commit e267ba48df
11 changed files with 61 additions and 62 deletions

View file

@ -18,7 +18,7 @@ class Command(BaseCommand):
def handle(self, **options):
import poster.models
before_import = datetime.now()
lookup.cache.getIds()
lookup.cache.get_ids()
for p in poster.models.PosterCache.objects.filter(image='', failed=False, created__gt=before_import):
print p.url.encode('utf-8')
p.get()