import sqlite3


def connect_to_db(local=True):
    """ 
    initialize connection to local sqlite3
    """
    con = None
    if local:
        # Create a SQL connection to our SQLite database
        con = sqlite3.connect("./db/tableTennisData.db")
    
    return con