ck %!s(int64=4) %!d(string=hai) anos
pai
achega
28535af618
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      handlers/HandlerBase.py

+ 1 - 1
handlers/HandlerBase.py

@@ -110,7 +110,7 @@ class BaseHandler(RequestHandler,DateUtils):
             if not Authorization:
                 return False
             print(Authorization)
-            origStr = Authorization[::-1]
+            origStr = Authorization.split(' ')[1][::-1]
             if (len(origStr) % 3 == 1):
                 origStr += "=="
             elif (len(origStr) % 3 == 2):