From 15cd958c78f43293608614fb8fa3e9da3973aa03 Mon Sep 17 00:00:00 2001 From: Tobias Witek Date: Thu, 22 Aug 2019 18:39:50 +0200 Subject: [PATCH] [modules/redshift] Make requests module optional --- bumblebee/modules/redshift.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bumblebee/modules/redshift.py b/bumblebee/modules/redshift.py index 1db598f..f6f16c7 100644 --- a/bumblebee/modules/redshift.py +++ b/bumblebee/modules/redshift.py @@ -13,7 +13,10 @@ Parameters: """ import threading -import requests +try: + import requests +except ImportError: + pass import bumblebee.input import bumblebee.output