Silence ImportErrors for optional dependencies. Fixes #55.

This commit is contained in:
Chris LaRose 2017-03-25 18:32:11 -07:00
parent b20e83cb8a
commit fe11bad826
4 changed files with 17 additions and 4 deletions

View file

@ -18,7 +18,10 @@ import bumblebee.output
import bumblebee.engine
import json
import time
import requests
try:
import requests
except ImportError:
pass
class Module(bumblebee.engine.Module):
def __init__(self, engine, config):