def get_time_left(self):
        if self.has_no_conversion: return MAX_PAY_TIME
        return max(0, (NOW() - self.created_at).total_seconds() - MAX_PAY_TIME)
        

# EOF
dataset/ETHPy150Open coinkite/coinkite-real-time-invoice/models.py/MyInvoice.get_time_left/swapped operands of `-`