Functions | Variables
mycroft.configuration.locations Namespace Reference

Functions

def __ensure_folder_exists (path)
 

Variables

 DEFAULT_CONFIG = join(dirname(__file__), 'mycroft.conf')
 
string REMOTE_CONFIG = "mycroft.ai"
 
 SYSTEM_CONFIG
 
 USER_CONFIG = join(expanduser('~'), '.mycroft/mycroft.conf')
 
 WEB_CONFIG_CACHE
 

Function Documentation

def mycroft.configuration.locations.__ensure_folder_exists (   path)
private
Make sure the directory for the specified path exists.

    Arguments:
        path (str): path to config file

Definition at line 26 of file locations.py.

Variable Documentation

mycroft.configuration.locations.DEFAULT_CONFIG = join(dirname(__file__), 'mycroft.conf')

Definition at line 17 of file locations.py.

string mycroft.configuration.locations.REMOTE_CONFIG = "mycroft.ai"

Definition at line 21 of file locations.py.

mycroft.configuration.locations.SYSTEM_CONFIG
Initial value:
1 = os.environ.get('MYCROFT_SYSTEM_CONFIG',
2  '/etc/mycroft/mycroft.conf')

Definition at line 18 of file locations.py.

mycroft.configuration.locations.USER_CONFIG = join(expanduser('~'), '.mycroft/mycroft.conf')

Definition at line 20 of file locations.py.

mycroft.configuration.locations.WEB_CONFIG_CACHE
Initial value:
1 = os.environ.get('MYCROFT_WEB_CACHE',
2  '/var/tmp/mycroft_web_cache.json')

Definition at line 22 of file locations.py.



mycroft_ros
Author(s):
autogenerated on Mon Apr 26 2021 02:35:40