do not force by default

This commit is contained in:
j 2010-09-13 17:25:37 +02:00
parent 43837ff529
commit a2311b0c11

View file

@ -506,12 +506,13 @@ class Movie(models.Model):
p.save()
def delete_poster(self):
if self.poster:
path = self.poster.path
self.poster.delete()
for f in glob(path.replace('.jpg', '*.jpg')):
os.unlink(f)
def download_poster(self, force=True):
def download_poster(self, force=False):
if not self.poster or force:
url = self.poster_url
if not url: