mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-15 07:34:27 -04:00
move config into dedicated global app
This commit is contained in:
parent
ee7f73bd7b
commit
3e5b6ddeae
79 changed files with 494 additions and 525 deletions
|
@ -1,11 +1,10 @@
|
|||
from pathlib import Path
|
||||
|
||||
from archivebox.config import DATA_DIR, CONSTANTS
|
||||
|
||||
import archivebox
|
||||
OUTPUT_DIR = archivebox.DATA_DIR
|
||||
LOGS_DIR = archivebox.CONSTANTS.LOGS_DIR
|
||||
|
||||
TMP_DIR = archivebox.CONSTANTS.TMP_DIR
|
||||
OUTPUT_DIR = DATA_DIR
|
||||
LOGS_DIR = CONSTANTS.LOGS_DIR
|
||||
TMP_DIR = CONSTANTS.TMP_DIR
|
||||
|
||||
Path.mkdir(TMP_DIR, exist_ok=True)
|
||||
CONFIG_FILE = TMP_DIR / "supervisord.conf"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue