Skip to content

Commit

Permalink
Added an encode call to handle non-ascii wget output in error message
Browse files Browse the repository at this point in the history
  • Loading branch information
wbond committed Jan 19, 2013
1 parent 0826d20 commit 44cfe2a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Package Control.py
Original file line number Diff line number Diff line change
Expand Up @@ -1884,8 +1884,8 @@ def download(self, url, error_message, timeout, tries):
'trying again') % (__name__, url)
continue

print u'%s: %s %s downloading %s.' % (__name__, error_message,
error_string, url)
print (u'%s: %s %s downloading %s.' % (__name__, error_message,
error_string, url)).encode('UTF-8')

break
return False
Expand Down

0 comments on commit 44cfe2a

Please sign in to comment.