Upped mac indent level from 4 to 8.

This commit is contained in:
Michael Lazar
2015-04-17 20:39:59 -07:00
parent 5146244c26
commit 7d48890f43
2 changed files with 14 additions and 5 deletions

View File

@@ -97,14 +97,15 @@ def main():
config.unicode = args.unicode
# Squelch SSL warnings for Ubuntu
logging.captureWarnings(True)
if args.log:
logging.basicConfig(level=logging.DEBUG, filename=args.log)
logging.captureWarnings(True)
try:
print('Connecting...')
reddit = praw.Reddit(user_agent=AGENT)
reddit.config.decode_html_entities = True
reddit.config.decode_html_entities = False
if args.username:
# PRAW will prompt for password if it is None
reddit.login(args.username, args.password)