def return_this_weeks_customer_entries():
    conn = sqlite3.connect('ORDERM8.db')
    c = conn.cursor()
    today_date = (datetime.date.today(),)
    week_start = (today_date[0] - datetime.timedelta(days=today_date[0].weekday()))
    week_end = (week_start + datetime.timedelta(days=4))
    week_tuple = (week_start, week_end)
    c.execute('SELECT * FROM daily_customers WHERE todays_date BETWEEN (?) and (?)', week_tuple)
    return c
def return_this_weeks_customer_entries():
    conn = sqlite3.connect('ORDERM8.db')
    c = conn.cursor()
    today_date = (datetime.date.today(),)
    week_start = (today_date[0] - datetime.timedelta(days=today_date[0].weekday()))
    week_end = (week_start + datetime.timedelta(days=4))
    week_tuple = (week_start, week_end)
    c.execute('SELECT * FROM daily_customers WHERE todays_date BETWEEN (?) and (?)', week_tuple)
    return c