fix: lint

This commit is contained in:
yihong0618 2023-03-04 18:32:20 +08:00
parent 6e22cfb7df
commit d63b8dd0ee

View File

@ -1,6 +1,5 @@
import argparse import argparse
import os import os
import random
import pickle import pickle
import time import time
from abc import abstractmethod from abc import abstractmethod
@ -13,6 +12,7 @@ import requests
from bs4 import BeautifulSoup as bs from bs4 import BeautifulSoup as bs
from ebooklib import epub from ebooklib import epub
from rich import print from rich import print
from utils import LANGUAGES, TO_LANGUAGE_CODE from utils import LANGUAGES, TO_LANGUAGE_CODE
NO_LIMIT = False NO_LIMIT = False
@ -23,7 +23,7 @@ RESUME = False
class Base: class Base:
def __init__(self, key, language): def __init__(self, key, language):
self.key = key self.key = key
self.language =language self.language = language
self.current_key_index = 0 self.current_key_index = 0
def get_key(self, key_str): def get_key(self, key_str):