Commits

Donald Stufft committed 6d6a744

Prevent the list does not have encode error

  • Participants
  • Parent commits aba46f8

Comments (0)

Files changed (1)

                 version = l[-1][1]
             except IndexError:
                 version = "(latest release)"
+        if isinstance(version , list):
+            version = version[0]
 
         un = urllib.quote_plus(name.encode('utf-8'))
         uv = urllib.quote_plus(version.encode('utf-8'))