From 1aa73c73470d7f13922a306b11bb9c22d2a77644 Mon Sep 17 00:00:00 2001
From: Martin Konecny <martin.konecny@gmail.com>
Date: Fri, 31 Aug 2012 12:52:07 -0400
Subject: [PATCH] CC-4321: NowPlaying: Cancelling Webstream has no effect and
 results in OnAir being grayed out

-syntax error :/
---
 python_apps/pypo/pypopush.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/python_apps/pypo/pypopush.py b/python_apps/pypo/pypopush.py
index f8278d0f3..9fa508aa5 100644
--- a/python_apps/pypo/pypopush.py
+++ b/python_apps/pypo/pypopush.py
@@ -202,7 +202,7 @@ class PypoPush(Thread):
 
 
         if self.current_stream_info:
-            if len(current_event_chain) > 0 && current_event_chain[0]['type'] == "stream":
+            if len(current_event_chain) > 0 and current_event_chain[0]['type'] == "stream":
                 if self.current_stream_info['uri'] != stream_chain[0]['uri']:
                     #Liquidsoap is rebroadcasting a webstream and a webstream is scheduled
                     #to play, but they are not the same!