The branch, frodo has been updated
       via  da54050143a63ff7185e0d2c531995bb1b16a65c (commit)
      from  2dac3aecab4a8b982003a18d88133cca41535291 (commit)

- Log -----------------------------------------------------------------
http://xbmc.git.sourceforge.net/git/gitweb.cgi?p=xbmc/plugins;a=commit;h=da54050143a63ff7185e0d2c531995bb1b16a65c

commit da54050143a63ff7185e0d2c531995bb1b16a65c
Author: sphere <[email protected]>
Date:   Fri Mar 7 11:07:13 2014 +0100

    [plugin.video.mlslive] updated to version 1.0.6

diff --git a/plugin.video.mlslive/addon.xml b/plugin.video.mlslive/addon.xml
index 9930b45..d0a8750 100644
--- a/plugin.video.mlslive/addon.xml
+++ b/plugin.video.mlslive/addon.xml
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
-<addon id="plugin.video.mlslive" name="MLS Live" version="1.0.5" 
provider-name="Micah Galizia">
+<addon id="plugin.video.mlslive" name="MLS Live" version="1.0.6" 
provider-name="Micah Galizia">
   <requires>
     <import addon="xbmc.python"   version="2.1.0"/>
   </requires>
diff --git a/plugin.video.mlslive/changelog.txt 
b/plugin.video.mlslive/changelog.txt
index a881f55..c1a1d5a 100644
--- a/plugin.video.mlslive/changelog.txt
+++ b/plugin.video.mlslive/changelog.txt
@@ -1,3 +1,7 @@
+[B]Version 1.0.6[/B]
+
+- fix use of undefined variable
+
 [B]Version 1.0.5[/B]
 
 - include last week of the season in the list of completed games
diff --git a/plugin.video.mlslive/default.py b/plugin.video.mlslive/default.py
index cadcc71..eef3498 100644
--- a/plugin.video.mlslive/default.py
+++ b/plugin.video.mlslive/default.py
@@ -129,10 +129,15 @@ def createWeekMenu(my_mls, values_string, 
final_only=True):
         # get the home/away images
         home = my_mls.getTeamAbbr(teams, game['homeTeamID'])
         vist = my_mls.getTeamAbbr(teams, game['visitorTeamID'])
+        
+        game_img = None
         if not ((home == None) or (vist == None)):
             game_img = GAME_IMAGE_PREFIX + vist + "_at_" + home + ".jpg";
 
-        li = xbmcgui.ListItem(game_str, iconImage=game_img)
+        if not game_img == None:
+            li = xbmcgui.ListItem(game_str, iconImage=game_img)
+        else:
+            li = xbmcgui.ListItem(game_str)
 
         if my_mls.isGameLive(game):
             stream = my_mls.getGameLiveStream(game['gameID'])

-----------------------------------------------------------------------

Summary of changes:
 plugin.video.mlslive/addon.xml     |    2 +-
 plugin.video.mlslive/changelog.txt |    4 ++++
 plugin.video.mlslive/default.py    |    7 ++++++-
 3 files changed, 11 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
Plugins

------------------------------------------------------------------------------
Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works. 
Faster operations. Version large binaries.  Built-in WAN optimization and the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
_______________________________________________
Xbmc-addons mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xbmc-addons

Reply via email to