mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-14 07:04:27 -04:00
Merge pull request #1048 from EsEnZeT/dev
This commit is contained in:
commit
f86c9fc130
1 changed files with 1 additions and 1 deletions
|
@ -154,7 +154,7 @@ def save_text_as_source(raw_text: str, filename: str='{ts}-stdin.txt', out_dir:
|
||||||
|
|
||||||
for entry in raw_text.split():
|
for entry in raw_text.split():
|
||||||
try:
|
try:
|
||||||
if Path(entry).exists:
|
if Path(entry).exists():
|
||||||
referenced_texts += Path(entry).read_text()
|
referenced_texts += Path(entry).read_text()
|
||||||
except Exception as err:
|
except Exception as err:
|
||||||
print(err)
|
print(err)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue