()
| 55 | |
| 56 | |
| 57 | def get_web_ext_dir(): |
| 58 | config = get_extension_config() |
| 59 | name = config["name"] |
| 60 | dir = get_comfy_dir("web/extensions/pysssss") |
| 61 | if not os.path.exists(dir): |
| 62 | os.makedirs(dir) |
| 63 | dir = os.path.join(dir, name) |
| 64 | return dir |
| 65 | |
| 66 | |
| 67 | def get_extension_config(reload=False): |
no test coverage detected