summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Bergli Heier <snakebite@jvnv.net>2010-05-08 15:03:16 +0200
committerJon Bergli Heier <snakebite@jvnv.net>2010-05-08 15:03:16 +0200
commit74f1aef555d5ba120391085af5f7a56b8a54d978 (patch)
tree01ed1407288b0d77bddac489733eb69ffa0cb8c3
parent850f1dec29be409b9d2d5f8c78bca28581c081b2 (diff)
Fixed unicode data when using bitly.
-rwxr-xr-xgitnoti.py2
1 files changed, 1 insertions, 1 deletions
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