mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-20 13:23:18 -07:00
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:
parent
3acaf29f1e
commit
382d108db2
10 changed files with 25 additions and 25 deletions
|
@ -2,10 +2,13 @@
|
|||
# Copyright (c) 2008-2013 Erik Svensson <erik.public@gmail.com>
|
||||
# Licensed under the MIT license.
|
||||
|
||||
import socket, datetime, logging, constants
|
||||
import constants
|
||||
import datetime
|
||||
import logging
|
||||
import socket
|
||||
from collections import namedtuple
|
||||
from constants import LOGGER
|
||||
|
||||
from constants import LOGGER
|
||||
from six import string_types, iteritems
|
||||
|
||||
UNITS = ['B', 'KiB', 'MiB', 'GiB', 'TiB', 'PiB', 'EiB']
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue