Upped mac indent level from 4 to 8.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user