Optimize imports

* PEP8: Fix module level import not at top of file
* Remove unused imports
* Remove simplejson
* Replace mimetools with email
This commit is contained in:
Labrys 2016-06-04 22:10:26 -04:00
commit 382d108db2
10 changed files with 25 additions and 25 deletions

View file

@ -4,14 +4,10 @@ import urllib
import urllib2
import urlparse
import cookielib
import json
import re
import StringIO
try:
import json
except ImportError:
import simplejson as json
from core.utorrent.upload import MultiPartForm