diff options
Diffstat (limited to 'oauthlib/common.py')
-rw-r--r-- | oauthlib/common.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/oauthlib/common.py b/oauthlib/common.py index ea5bfe7..5aeb015 100644 --- a/oauthlib/common.py +++ b/oauthlib/common.py @@ -14,7 +14,7 @@ import logging import re import sys import time -from . import get_debug_flag +from . import get_debug try: from secrets import randbits @@ -436,7 +436,7 @@ class Request(object): raise AttributeError(name) def __repr__(self): - if not get_debug_flag(): + if not get_debug(): return "<oauthlib.Request SANITIZED>" body = self.body headers = self.headers.copy() |