Closed worthless443 closed 4 years ago
Added stdin.read() check if no opts.keywords are not given. To be well used for echo googler | googler
stdin.read()
opts.keywords
echo googler | googler
Late reply, but if you really need this you'll have to check stdin isn't a tty first (sys.stdin.isatty()). But I'd recommend command substitution, probably assigning to a variable first.
sys.stdin.isatty()
Added
stdin.read()
check if noopts.keywords
are not given. To be well used forecho googler | googler