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
1 changed files with 2 additions and 2 deletions

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 = []