def get(self):
        stamp = timestamp.now()
        reset = stamp.replace(day=stamp.day + 1, hour=0, minute=0, second=0,
                microsecond=0)
        countdown = reset - stamp
        response = {}
        response['readable'] = str(countdown)
        response['seconds'] = countdown.seconds + (countdown.days * 24 * 3600)
        self.response.out.write(simplejson.dumps(response))
dataset/ETHPy150Open 2cloud/AppEngine/devlinks.py/QuotaCountdown.get/original