Exemple #1
0
def record(to_number):
    spam = spam.get_next()
    log.info("Showing spam %s" %(spam["spam_id"]))
    return render_template('record.html', spam=spam, to_number=to_number)
Exemple #2
0
def next_spam():
    return json.dumps([spam.get_next()])