diff --git a/config.py b/config.py index 67421320..687a8fc2 100644 --- a/config.py +++ b/config.py @@ -50,6 +50,6 @@ class Config(object): CLOUDFLARE_API_TOKEN = os.environ.get('CLOUDFLARE_API_TOKEN') or '' CLOUDFLARE_ZONE_ID = os.environ.get('CLOUDFLARE_ZONE_ID') or '' - SPICY_UNDER_10 = int(os.environ.get('SPICY_UNDER_10')) or 1 - SPICY_UNDER_30 = int(os.environ.get('SPICY_UNDER_30')) or 1 - SPICY_UNDER_60 = int(os.environ.get('SPICY_UNDER_60')) or 1 + SPICY_UNDER_10 = float(os.environ.get('SPICY_UNDER_10')) or 1.0 + SPICY_UNDER_30 = float(os.environ.get('SPICY_UNDER_30')) or 1.0 + SPICY_UNDER_60 = float(os.environ.get('SPICY_UNDER_60')) or 1.0