Changeset 22:55bdffd989da in mailjam


Ignore:
Timestamp:
May 22, 2012, 1:47:55 PM (13 years ago)
Author:
Borja Lopez <borja@…>
Branch:
default
Phase:
public
Message:

Fixed a bug in the email address validator (email address should be valid
as unicode objects too, and not only as string objects)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • mailjam/tools.py

    r16 r22  
    2525    """
    2626
    27     if not isinstance(address, str):
     27    if not isinstance(address, str) and not isinstance(address, unicode):
    2828        return False
    2929
Note: See TracChangeset for help on using the changeset viewer.