Skip to content

Commit

Permalink
Merge pull request box#59 from box/jwt_import
Browse files Browse the repository at this point in the history
Fix import error when [jwt] not installed.
  • Loading branch information
jmoldow committed Jul 22, 2015
2 parents e72e112 + f301dd2 commit c273e31
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion boxsdk/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@

from __future__ import unicode_literals

from .auth.jwt_auth import JWTAuth
try:
from .auth.jwt_auth import JWTAuth
except ImportError:
JWTAuth = None # If extras are not installed, JWTAuth won't be available.
from .auth.oauth2 import OAuth2
from .client import Client
from .object import * # pylint:disable=wildcard-import,redefined-builtin

0 comments on commit c273e31

Please sign in to comment.