reorder imports

This commit is contained in:
Jimmy Zelinskie 2016-08-03 13:54:14 -04:00
parent 32a6c22b43
commit 59529569dc

View file

@ -1,12 +1,13 @@
import bencode
import hashlib
import jwt
import resumablehashlib
import time
import urllib
from cachetools import lru_cache
import bencode
import jwt
import resumablehashlib
from app import app, instance_keys
@ -14,6 +15,7 @@ ANNOUNCE_URL = app.config['BITTORRENT_ANNOUNCE_URL']
FILENAME_PEPPER = app.config['BITTORRENT_FILENAME_PEPPER']
REGISTRY_TITLE = app.config['REGISTRY_TITLE']
@lru_cache(maxsize=1)
def _load_private_key(private_key_file_path):
with open(private_key_file_path) as private_key_file: