diff --git a/shreddit.py b/shreddit.py index 88ed10d..b780bf1 100755 --- a/shreddit.py +++ b/shreddit.py @@ -123,15 +123,16 @@ for thing in things: thing.id in whitelist_ids: continue + if whitelist_distinguished and thing.distinguished: + continue + if whitelist_gilded and thing.gilded: + continue + if trial_run: # Don't do anything, trial mode! if verbose: print("Would have deleted {thing}: '{content}'".format( thing=thing.id, content=thing)) continue - if whitelist_distinguished and thing.distinguished: - continue - if whitelist_gilded and thing.gilded: - continue if clear_vote: thing.clear_vote()