From fec6258f71da53db2d480d362e8979122809d0a9 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Tue, 29 Jul 2014 18:10:01 +0200 Subject: [PATCH] fix path --- pandora/archive/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora/archive/models.py b/pandora/archive/models.py index 7a4d8e45..f9fefb0d 100644 --- a/pandora/archive/models.py +++ b/pandora/archive/models.py @@ -652,7 +652,7 @@ class Stream(models.Model): return True def encode(self): - media = self.source.media.path if self.source else self.file.data + media = self.source.media.path if self.source else self.file.data.path ffmpeg = ox.file.cmd('ffmpeg') if self.source or ffmpeg == 'ffmpeg': ffmpeg = None