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
|
@ -19,6 +19,10 @@ rencode module versions, so you should check that you are using the
|
|||
same rencode version throughout your project.
|
||||
"""
|
||||
|
||||
import struct
|
||||
from threading import Lock
|
||||
|
||||
|
||||
__version__ = '1.0.1'
|
||||
__all__ = ['dumps', 'loads']
|
||||
|
||||
|
@ -62,9 +66,6 @@ __all__ = ['dumps', 'loads']
|
|||
# (The rencode module is licensed under the above license as well).
|
||||
#
|
||||
|
||||
import struct
|
||||
from threading import Lock
|
||||
|
||||
# Default number of bits for serialized floats, either 32 or 64 (also a parameter for dumps()).
|
||||
DEFAULT_FLOAT_BITS = 32
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue