1
0
mirror of https://github.com/pirate/ArchiveBox.git synced 2025-08-29 17:19:53 +02:00

only use stdin if it has a value

Closes #228
This commit is contained in:
Pig Monkey
2019-04-30 17:25:41 -07:00
parent 6eff6f43c0
commit 34270b2b12

View File

@@ -86,7 +86,7 @@ def main(*args):
)
print_help()
raise SystemExit(1)
if stdin_raw_text:
import_path = save_stdin_source(stdin_raw_text)
### Handle ingesting urls from a remote file/feed