mirror of
https://github.com/honmashironeko/ProxyCat.git
synced 2025-06-21 02:11:11 +00:00
Update config.py
This commit is contained in:
parent
cee650f6a3
commit
e95360326a
@ -6,7 +6,7 @@ DEFAULT_CONFIG = {
|
||||
'interval': 300,
|
||||
'username': '',
|
||||
'password': '',
|
||||
'use_getip': True,
|
||||
'use_getip': False,
|
||||
'proxy_file': 'ip.txt',
|
||||
'check_proxies' : True
|
||||
}
|
||||
@ -14,4 +14,4 @@ DEFAULT_CONFIG = {
|
||||
def load_config(config_file='config.ini'):
|
||||
config = configparser.ConfigParser()
|
||||
config.read(config_file, encoding='utf-8')
|
||||
return {k: v for k, v in config['SETTINGS'].items()}
|
||||
return {k: v for k, v in config['SETTINGS'].items()}
|
||||
|
Loading…
x
Reference in New Issue
Block a user