From 0bbf826b21722da9ee59f97f82fdf1fd306daa3e Mon Sep 17 00:00:00 2001 From: zenix Date: Thu, 13 Apr 2017 16:52:40 +0900 Subject: [PATCH] fix typo --- sanic/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sanic/config.py b/sanic/config.py index 30ee5fd1..a1c140c1 100644 --- a/sanic/config.py +++ b/sanic/config.py @@ -110,7 +110,7 @@ LOGGING = { # this happens when using container or systems without syslog # keep things in config would cause file not exists error _addr = LOGGING['handlers']['accessSysLog']['address'] -if type(_add) is str and not os.path.exists(_addr): +if type(_addr) is str and not os.path.exists(_addr): LOGGING['handlers'].pop('accessSysLog') LOGGING['handlers'].pop('errorSysLog')