(file_name)
return None
Returns a path to a configuration file.

    Args:
        file_name: String that defines the config file name.

    Returns:
        The path to the configuration file or None if the file cannot be found.
Returns a path to a configuration file.
Returns a path to a configuration file .
def get_config_path(file_name):
    """Returns a path to a configuration file.

    Args:
        file_name: String that defines the config file name.

    Returns:
        The path to the configuration file or None if the file cannot be found.
    """
    path = os.path.join(os.path.sep, 'etc', 'timesketch', file_name)
    if os.path.isfile(path):
        return path

    path = os.path.join(
        os.path.dirname(__file__), '..', '..', '..', 'data', file_name)
    path = os.path.abspath(path)
    if os.path.isfile(path):
        return path

    return None
def get_config_path ( file_name ) : path = os . path . join ( os . path . sep , 'etc' , 'timesketch' , file_name ) if os . path . isfile ( path ) : return path path = os . path . join ( os . path . dirname ( __file__ ) , '..' , '..' , '..' , 'data' , file_name ) path = os . path . abspath ( path ) if os . path . isfile ( path ) : return path return None