Subversion Repositories SmartDukaan

Rev

Rev 76 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 76 Rev 90
Line 56... Line 56...
56
                              score = score + 1.5
56
                              score = score + 1.5
57
 
57
 
58
                # Capacity > TV Playback : <2 - 0.5, <5 - 1, >5 - 1.5
58
                # Capacity > TV Playback : <2 - 0.5, <5 - 1, >5 - 1.5
59
                if features.has_key("TV Playback") :
59
                if features.has_key("TV Playback") :
60
                    tvplayback = features.get("TV Playback")
60
                    tvplayback = features.get("TV Playback")
61
                    tvplayback = int(tvplayback[0])
-
 
62
                    
61
                    
63
                    if len(tvplayback) > 0 :
62
                    if len(tvplayback) > 0 :
-
 
63
                        tvplayback = int(tvplayback[0])
64
                        print "tvplayback=" + `tvplayback`
64
                        print "tvplayback=" + `tvplayback`
65
    
65
    
66
                        if tvplayback < 2 :
66
                        if tvplayback < 2 :
67
                            score = score + 0.5
67
                            score = score + 0.5
68
                                
68