3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-11-24 03:29:28 +01:00

servprotect: fix a syntax error

This commit is contained in:
James Lu 2017-02-21 21:49:41 -08:00
parent 0125c544ee
commit bf702575be

View File

@ -6,7 +6,7 @@ from pylinkirc.log import log
# check for definitions # check for definitions
servprotect_conf = conf.conf.get('servprotect', {}) servprotect_conf = conf.conf.get('servprotect', {})
length = servprotect_conf.get('length,' 5) length = servprotect_conf.get('length', 5)
age = servprotect_conf.get('age', 10) age = servprotect_conf.get('age', 10)
savecache = ExpiringDict(max_len=length, max_age_seconds=age) savecache = ExpiringDict(max_len=length, max_age_seconds=age)