Making real progress this time.

This commit is contained in:
Michael Lazar
2016-08-08 23:05:06 -07:00
parent 0f0845b346
commit dd0d0db764
7 changed files with 96 additions and 82 deletions

View File

@@ -9,7 +9,6 @@ import warnings
import six
import praw
import tornado
import requests
from . import docs
@@ -158,7 +157,5 @@ def main():
# Ensure sockets are closed to prevent a ResourceWarning
if 'reddit' in locals():
reddit.handler.http.close()
# Explicitly close file descriptors opened by Tornado's IOLoop
tornado.ioloop.IOLoop.current().close(all_fds=True)
sys.exit(main())