Commit b78435d1 authored by fred's avatar fred

replace obsolete usage of topik object

parent a9123809
...@@ -675,8 +675,7 @@ class Focus(models.Model): ...@@ -675,8 +675,7 @@ class Focus(models.Model):
if self.emission: if self.emission:
return self.emission.image return self.emission.image
if self.page: if self.page:
from panikombo.models import Topik return self.page.picture
return Topik.objects.get(page=self.page).image
episode = None episode = None
if self.soundfile: 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