1. James Mills
  2. circuits

Commits

James Mills  committed 8123969 Merge
  • Participants
  • Parent commits 8a1730a, 8707590
  • Branches default

Comments (0)

Files changed (1)

File circuits/web/errors.py

View file
 class Redirect(HTTPError):
 
     def __init__(self, request, response, urls, code=None):
-        if isinstance(urls, str):
+        if isinstance(urls, basestring):
             urls = [urls]
         
         abs_urls = []