()
| 630 | |
| 631 | |
| 632 | def get_appdata_dir(): |
| 633 | data_path = os.path.join(get_root(), conf().get("appdata_dir", "")) |
| 634 | if not os.path.exists(data_path): |
| 635 | logger.info("[INIT] data path not exists, create it: {}".format(data_path)) |
| 636 | os.makedirs(data_path) |
| 637 | return data_path |
| 638 | |
| 639 | |
| 640 | def subscribe_msg(): |
no test coverage detected