Skip to content

Commit

Permalink
Python 3 strings are unicode by default
Browse files Browse the repository at this point in the history
  • Loading branch information
Agmagor committed Jul 31, 2014
1 parent fbc6116 commit 5d23350
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tldextract/tldextract.py
Expand Up @@ -317,7 +317,7 @@ def fetch_file(urls):
return _decode_utf8(s)

LOG.error('No Public Suffix List found. Consider using a mirror or constructing your TLDExtract with `fetch=False`.')
return u''
return ''

def _decode_utf8(s):
""" Decode from utf8 to Python unicode string.
Expand Down

0 comments on commit 5d23350

Please sign in to comment.