mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-14 07:04:27 -04:00
Merge pull request #229 from pigmonkey/stdin
only use stdin if it has a value
This commit is contained in:
commit
84fa6f6699
1 changed files with 2 additions and 2 deletions
|
@ -86,8 +86,8 @@ def main(*args):
|
|||
)
|
||||
print_help()
|
||||
raise SystemExit(1)
|
||||
|
||||
import_path = save_stdin_source(stdin_raw_text)
|
||||
if stdin_raw_text:
|
||||
import_path = save_stdin_source(stdin_raw_text)
|
||||
|
||||
### Handle ingesting urls from a remote file/feed
|
||||
# (e.g. if an RSS feed URL is used as the import path)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue