mirror of
https://github.com/pirate/ArchiveBox.git
synced 2025-09-02 19:02:37 +02:00
move config moved out of legacy files and better version output
This commit is contained in:
@@ -9,15 +9,15 @@ from configparser import ConfigParser
|
||||
from pocket import Pocket
|
||||
|
||||
from archivebox.config import CONSTANTS
|
||||
|
||||
from ..index.schema import Link
|
||||
from archivebox.misc.util import enforce_types
|
||||
from archivebox.misc.system import atomic_write
|
||||
from ..config.legacy import (
|
||||
from archivebox.config.legacy import (
|
||||
POCKET_CONSUMER_KEY,
|
||||
POCKET_ACCESS_TOKENS,
|
||||
)
|
||||
|
||||
from ..index.schema import Link
|
||||
|
||||
|
||||
COUNT_PER_PAGE = 500
|
||||
API_DB_PATH = CONSTANTS.SOURCES_DIR / 'pocket_api.db'
|
||||
|
@@ -9,12 +9,11 @@ from typing import IO, Iterable, Optional
|
||||
from configparser import ConfigParser
|
||||
|
||||
from archivebox.config import CONSTANTS
|
||||
|
||||
from ..index.schema import Link
|
||||
from archivebox.misc.util import enforce_types
|
||||
from archivebox.misc.system import atomic_write
|
||||
from ..config.legacy import READWISE_READER_TOKENS
|
||||
from archivebox.config.legacy import READWISE_READER_TOKENS
|
||||
|
||||
from ..index.schema import Link
|
||||
|
||||
API_DB_PATH = CONSTANTS.SOURCES_DIR / "readwise_reader_api.db"
|
||||
|
||||
|
Reference in New Issue
Block a user