Эх сурвалжийг харах

Merge pull request #324 from xq262144/master

[desktop] Fix oauth_authentication_time metric decorator typo in liboauth
Romain Rigaux 9 жил өмнө
parent
commit
82c0e00

+ 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']