mirror of
https://github.com/yihong0618/bilingual_book_maker.git
synced 2025-06-06 11:35:49 +00:00
fix: lint
This commit is contained in:
parent
6e22cfb7df
commit
d63b8dd0ee
@ -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):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user