From 0c5c6dff8f66ace1648d3071235a977e95bf8838 Mon Sep 17 00:00:00 2001 From: Sergey Fedoruk Date: Sun, 30 Dec 2018 20:01:02 +0100 Subject: [PATCH] fix linting --- sanic/config.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sanic/config.py b/sanic/config.py index f2c47378..60ad4eaf 100644 --- a/sanic/config.py +++ b/sanic/config.py @@ -124,7 +124,7 @@ class Config(dict): try: self[config_key] = float(v) except ValueError: - if v in ['True', 'False']: - self[config_key] = v == 'True' + if v in ["True", "False"]: + self[config_key] = v == "True" else: self[config_key] = v