qingxu99 commited on
Commit
37f4544
1 Parent(s): 2a6b17e
Files changed (1) hide show
  1. check_proxy.py +6 -1
check_proxy.py CHANGED
@@ -21,5 +21,10 @@ def check_proxy(proxies):
21
 
22
 
23
  if __name__ == '__main__':
24
- from config import proxies
 
 
 
 
 
25
  check_proxy(proxies)
 
21
 
22
 
23
  if __name__ == '__main__':
24
+ import os
25
+ if os.path.exists('config_private.py'):
26
+ # 放自己的秘密如API和代理网址
27
+ from config_private import proxies
28
+ else:
29
+ from config import proxies
30
  check_proxy(proxies)