From 86c0b7db376731db095923d3e23b1e13fb9d4b1f Mon Sep 17 00:00:00 2001
From: Martin Konecny <martin.konecny@gmail.com>
Date: Fri, 17 Aug 2012 15:55:28 -0400
Subject: [PATCH] CC-1665: Scheduled stream rebroadcasting and recording

-fix syntax error
---
 python_apps/pypo/pypofetch.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/python_apps/pypo/pypofetch.py b/python_apps/pypo/pypofetch.py
index 079efe1f5..d2eb695b6 100644
--- a/python_apps/pypo/pypofetch.py
+++ b/python_apps/pypo/pypofetch.py
@@ -436,9 +436,9 @@ class PypoFetch(Thread):
                     media_item['dst'] = dst
                     media_item['file_ready'] = False
                     media_filtered[key] = media_item
-                else if media_item['type'] == 'stream':
+                elif media_item['type'] == 'stream':
                     #flag to indicate whether the stream started prebuffering
-                    media_item['prebuffer_start'] = False
+                    media_item['prebuffer_started'] = False
 
             self.media_prepare_queue.put(copy.copy(media_filtered))
         except Exception, e: self.logger.error("%s", e)