Przeglądaj źródła

[desktop] Fix oauth_authentication_time metric decorator typo in liboauth

xq262144 9 lat temu
rodzic
commit
00bf745afe
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      desktop/libs/liboauth/src/liboauth/backend.py

+ 1 - 1
desktop/libs/liboauth/src/liboauth/backend.py

@@ -48,7 +48,7 @@ LOG = logging.getLogger(__name__)
 
 class OAuthBackend(DesktopBackendBase):
 
-  @metrics.oauth_authentication_time
+  @liboauth.metrics.oauth_authentication_time
   def authenticate(self, access_token):
     username = access_token['screen_name']
     password = access_token['oauth_token_secret']