Add read from pipe

Signed-off-by: Rémi BERTHO <remi.bertho@dalan.fr>
This commit is contained in:
Rémi BERTHO 2017-10-21 16:21:08 +02:00
parent 14c28cb2c9
commit 71426f81e1
Signed by: dalan
GPG key ID: EE3B917931C07B64

View file

@ -94,8 +94,8 @@ def main():
string = args["string"] string = args["string"]
is_file = False is_file = False
else: else:
print("Error: You need an input string or file") string = sys.stdin.read()
return -1 is_file = False
# Get output # Get output
output_files = [] output_files = []