Merge pull request #229 from pigmonkey/stdin

only use stdin if it has a value
This commit is contained in:
Nick Sweeting 2019-05-01 00:19:36 -04:00 committed by GitHub
commit 84fa6f6699
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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