()
| 111 | |
| 112 | |
| 113 | def find_config(): |
| 114 | config_path = 'config.json' |
| 115 | if os.path.exists(config_path): |
| 116 | return config_path |
| 117 | config_path = os.path.join(os.path.dirname(__file__), '../', 'config.json') |
| 118 | if os.path.exists(config_path): |
| 119 | return config_path |
| 120 | return None |
| 121 | |
| 122 | |
| 123 | def check_config(config, is_local): |