Commits

Jesper Nøhr  committed a7e8d64

auth may also come in form of a tuple, which we can't ignore

  • Participants
  • Parent commits 4874292

Comments (0)

Files changed (1)

File piston/resource.py

         
         if not authentication:
             self.authentication = (NoAuthentication(),)
-        elif isinstance(authentication, list):
+        elif isinstance(authentication, (list, tuple)):
             self.authentication = authentication
         else:
             self.authentication = (authentication,)