refactor: optimize imports

master
Mufanc 3 years ago
parent a9abca1c04
commit ac3fbe4f01

@ -1,10 +1,9 @@
import asyncio
import httpx
import json
import re
import traceback
import urllib.parse as parser
import httpx
import websockets
from loguru import logger

@ -1,10 +1,9 @@
import traceback
from os import path
import cv2
import numpy as np
import traceback
from loguru import logger
from numpy import average, dot, linalg
from os import path
base_path = path.join(path.split(__file__)[0], 'models')

@ -1,8 +1,7 @@
import httpx
import json
import traceback
from hashlib import md5
import httpx
from loguru import logger
from .captcha import recognize

@ -1,8 +1,7 @@
import traceback
from random import uniform, randint
from bs4 import BeautifulSoup
from loguru import logger
from random import uniform, randint
from configs import configs
from .devtools import Browser

@ -1,8 +1,9 @@
import sys
import argparse
import asyncio
import sys
from loguru import logger
from automaton import utils
import argparse
class Help(object):

Loading…
Cancel
Save