Subversion Repositories SmartDukaan

Rev

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

Rev 2663 Rev 5244
Line 102... Line 102...
102
            print type
102
            print type
103
            if len(type) > 0 :
103
            if len(type) > 0 :
104
                type = type[0]
104
                type = type[0]
105
                #print "Type=" + type
105
                #print "Type=" + type
106
                        
106
                        
107
                if type == "Super AMOLED Plus" :
107
                if type == "HD Super AMOLED" :
108
                    type_score = 10
108
                    type_score = 10
109
                elif type == "Retina Display":
109
                if type == "Super AMOLED Plus" :
110
                    type_score = 9.5
110
                    type_score = 9.5
-
 
111
                elif type == "Retina Display":
-
 
112
                    type_score = 9
111
                elif type == "Nova Display":
113
                elif type == "Nova Display":
112
                    type_score = 9                        
114
                    type_score = 8.5                        
113
                elif type == "Super AMOLED" :
115
                elif type == "Super AMOLED" :
114
                    type_score = 8.5
116
                    type_score = 8
115
                elif type == "Super Clear LCD":
117
                elif type == "Super Clear LCD":
116
                    type_score = 8.0
118
                    type_score = 7.5
117
                elif type == "Super LCD":
119
                elif type == "Super LCD":
118
                    type_score = 8.0                   
120
                    type_score = 7.5                   
119
                elif type == "AMOLED":
121
                elif type == "AMOLED":
120
                    type_score = 7.5
122
                    type_score = 7.0
121
                elif type == "OLED" :
123
                elif type == "OLED" :
122
                    type_score = 6
124
                    type_score = 5.5
123
                elif type == "TFT LCD" :
125
                elif type == "TFT LCD" :
124
                    type_score = 6
126
                    type_score = 5.5
125
                elif type == "CSTN LCD" :
127
                elif type == "CSTN LCD" :
126
                    type_score = 4
128
                    type_score = 3.5
127
                elif type == "STN LCD" :
129
                elif type == "STN LCD" :
128
                    type_score = 2
130
                    type_score = 2
129
                
131
                
130
                if category == "Tablets":
132
                if category == "Tablets":
131
                    if type == "TFT LCD" :
133
                    if type == "TFT LCD" :