Commit b78435d1 authored by fred's avatar fred

replace obsolete usage of topik object

parent a9123809
......@@ -675,8 +675,7 @@ class Focus(models.Model):
if self.emission:
return self.emission.image
if self.page:
from panikombo.models import Topik
return Topik.objects.get(page=self.page).image
return self.page.picture
episode = None
if self.soundfile:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment