MCPcopy Create free account
hub / github.com/brain-workshop/brainworkshop / get_res_dir

Function get_res_dir

brainworkshop.py:180–185  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

178 else:
179 return os.path.join(get_settings_path('Brain Workshop'), FOLDER_DATA)
180def get_res_dir():
181 rtrn = get_argv('--resdir')
182 if rtrn:
183 return rtrn
184 else:
185 return os.path.join(get_main_dir(), FOLDER_RES)
186def edit_config_ini():
187 if sys.platform == 'win32':
188 cmd = 'notepad'

Callers 1

brainworkshop.pyFile · 0.85

Calls 2

get_argvFunction · 0.85
get_main_dirFunction · 0.85

Tested by

no test coverage detected