From 407eaeeeca9dfd79bd5d54b223ded4152535bf54 Mon Sep 17 00:00:00 2001 From: Mitchell Huang Date: Thu, 9 Aug 2018 01:32:11 -0700 Subject: [PATCH] Fix self.authorized return if we need to self._authorize --- b2blaze/connector.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/b2blaze/connector.py b/b2blaze/connector.py index 85da45b..2d9efd4 100644 --- a/b2blaze/connector.py +++ b/b2blaze/connector.py @@ -45,8 +45,7 @@ def authorized(self): else: if (datetime.datetime.utcnow() - self.authorized_at) > datetime.timedelta(hours=23): self._authorize() - else: - return True + return True def _authorize(self):