mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-28 05:34:14 -04:00
search for node dependencies in output dir first
This commit is contained in:
parent
4566904db2
commit
7144e0bdce
3 changed files with 5 additions and 5 deletions
|
@ -780,7 +780,7 @@ globals().update(CONFIG)
|
|||
os.environ["TZ"] = 'UTC'
|
||||
|
||||
# add ./node_modules/.bin to $PATH so we can use node scripts in extractors
|
||||
NODE_BIN_PATH = str((Path(CONFIG["OUTPUT_DIR"]) / 'node_modules' / '.bin').resolve())
|
||||
NODE_BIN_PATH = str((Path(CONFIG["OUTPUT_DIR"]).absolute() / 'node_modules' / '.bin'))
|
||||
sys.path.append(NODE_BIN_PATH)
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue