Commits

Steven Osborn  committed 30b3324

include unicode as a string type

  • Participants
  • Parent commits 8b78910

Comments (0)

Files changed (1)

File flaskext/mail/message.py

 
         if recipients is None:
             recipients = []
-
-        if isinstance(recipients, str):
+        import pdb; pdb.set_trace()
+        if type(recipients) in [unicode, str]:
             self.recipients = [recipients]
         else:
             self.recipients = list(recipients)