Example #1
0
def add_data(ident):
    if method.request == 'POST':
        time = dt.datetime.now()
        return str(db.update_times(ident, time))
Example #2
0
def out_of_line():
    if request.method == 'POST':
        ip = request.remote_addr
        time = dt.datetime.now()
        return str(db.update_times(ip, time))