From 74f1aef555d5ba120391085af5f7a56b8a54d978 Mon Sep 17 00:00:00 2001 From: Jon Bergli Heier Date: Sat, 8 May 2010 15:03:16 +0200 Subject: Fixed unicode data when using bitly. --- gitnoti.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gitnoti.py b/gitnoti.py index d275261..b97df89 100755 --- a/gitnoti.py +++ b/gitnoti.py @@ -77,7 +77,7 @@ def repo_commit_msg(repo, branch, commits): short_url = None if short_url: - url = short_url + url = short_url.encode('utf-8') msg += url return msg -- cgit v1.2.3