From 8b8bdfb7c08d5b440c7c24b3eaa2990339954dd2 Mon Sep 17 00:00:00 2001 From: x89 Date: Mon, 25 May 2015 12:05:38 +0100 Subject: [PATCH] UTF-8 on the Submission URL print --- shreddit.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shreddit.py b/shreddit.py index 335e7b9..88ed10d 100755 --- a/shreddit.py +++ b/shreddit.py @@ -140,7 +140,7 @@ for thing in things: if verbose: print('Deleting submission: #{id} {url}'.format( id=thing.id, - url=thing.url) + url=thing.url.encode('utf-8')) ) elif isinstance(thing, Comment): replacement_text = get_sentence()