Subversion Repositories SmartDukaan

Rev

Rev 4036 | Rev 4043 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4036 Rev 4037
Line 26... Line 26...
26
                
26
                
27
        if features.has_key('Bluetooth'):
27
        if features.has_key('Bluetooth'):
28
            bluetooth = str(features.get('Bluetooth')[0])
28
            bluetooth = str(features.get('Bluetooth')[0])
29
            bluetooth_score = 10.0 if bluetooth.find('3.0') else 7.0
29
            bluetooth_score = 10.0 if bluetooth.find('3.0') else 7.0
30
        
30
        
31
    score = (50.0 * wireless_score + 30.0 * ethernet_score + 10.0 * bluetooth_score) / 100
31
    score = (55.0 * wireless_score + 35.0 * ethernet_score + 10.0 * bluetooth_score) / 100
32
    return score
32
    return score
33
    
33
    
34
 
34
 
35
print "expSlide=" + `expSlide`
35
print "expSlide=" + `expSlide`
36
 
36