()
| 172 | return os.path.expanduser('~/.%s' % (name.lower().replace(' ', ''))) |
| 173 | |
| 174 | def get_data_dir(): |
| 175 | rtrn = get_argv('--datadir') |
| 176 | if rtrn: |
| 177 | return rtrn |
| 178 | else: |
| 179 | return os.path.join(get_settings_path('Brain Workshop'), FOLDER_DATA) |
| 180 | def get_res_dir(): |
| 181 | rtrn = get_argv('--resdir') |
| 182 | if rtrn: |
no test coverage detected