]> git.parisson.com Git - timeside.git/commitdiff
Update server/models to new API
authorThomas Fillon <thomas@parisson.com>
Wed, 11 Jun 2014 22:36:50 +0000 (00:36 +0200)
committerThomas Fillon <thomas@parisson.com>
Wed, 11 Jun 2014 22:36:50 +0000 (00:36 +0200)
timeside/server/models.py

index 68c723ee61cf9478ab5da709fda45b1f3e2cf61c..619eddfcc0a15c308242838153831aba2798bb3b 100644 (file)
@@ -221,7 +221,7 @@ class Task(BaseResource):
             if not os.path.exists(settings.MEDIA_ROOT + os.sep + path):
                 os.makedirs(settings.MEDIA_ROOT + os.sep + path)
 
-            pipe = timeside.decoder.FileDecoder(item.file.path, sha1=item.sha1)
+            pipe = timeside.decoder.file.FileDecoder(item.file.path, sha1=item.sha1)
 
             presets = {}
             for preset in self.experience.presets.all():