From c8eeacbda79536b6003dc2726867134e2b13892d Mon Sep 17 00:00:00 2001 From: David Trail Date: Tue, 3 Jun 2014 00:22:56 +0200 Subject: [PATCH] Missed those tabs when converting to python 3 --- shreddit.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/shreddit.py b/shreddit.py index 24f3a06..c813efa 100755 --- a/shreddit.py +++ b/shreddit.py @@ -11,7 +11,7 @@ from time import sleep try: from loremipsum import get_sentence -except: +except ImportError: def get_sentence(): return '''I have been Shreddited for privacy!\n\n\ https://github.com/x89/Shreddit/''' @@ -122,10 +122,10 @@ for thing in things: replacement_text[:78], thing.subreddit ) - if edit_only: - print('Editing {msg}'.format(msg=msg)) - else: - print('Editing and deleting {msg}'.format(msg=msg)) + if edit_only: + print('Editing {msg}'.format(msg=msg)) + else: + print('Editing and deleting {msg}'.format(msg=msg)) thing.edit(replacement_text) if not edit_only: thing.delete()