From a83790a006668334803161bc6593b1b00aae942e Mon Sep 17 00:00:00 2001 From: Mark Adams Date: Tue, 6 Jan 2015 08:29:38 -0600 Subject: [PATCH] Moved jwt.algorithms imports back to their original location --- jwt/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jwt/__init__.py b/jwt/__init__.py index f867a7ec..e241a6a3 100644 --- a/jwt/__init__.py +++ b/jwt/__init__.py @@ -13,7 +13,6 @@ from collections import Mapping from datetime import datetime, timedelta -from jwt.algorithms import Algorithm, _register_default_algorithms from jwt.utils import base64url_decode, base64url_encode try: @@ -45,6 +44,7 @@ def register_algorithm(alg_id, alg_obj): _algorithms[alg_id] = alg_obj +from jwt.algorithms import Algorithm, _register_default_algorithms # NOQA _register_default_algorithms()