Subversion Repositories SmartDukaan

Rev

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

Rev 17246 Rev 17247
Line 64... Line 64...
64
            dealStatus = float(dealStatus.text.replace("%","").replace(",",""))
64
            dealStatus = float(dealStatus.text.replace("%","").replace(",",""))
65
        except:
65
        except:
66
            dealStatus = 100
66
            dealStatus = 100
67
        
67
        
68
        
68
        
69
        if dealPrice > 0:
69
        if dealStatus < 100 and dealPrice > 0:
70
            return dealPrice
70
            return dealPrice
71
        else:
71
        else:
72
            return 0.0
72
            return 0.0
73
 
73
 
74
if __name__ == '__main__':
74
if __name__ == '__main__':