ck 4 lat temu
rodzic
commit
28535af618
1 zmienionych plików z 1 dodań i 1 usunięć
  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):