Add read from pipe
Signed-off-by: Rémi BERTHO <remi.bertho@dalan.fr>
This commit is contained in:
parent
14c28cb2c9
commit
71426f81e1
1 changed files with 2 additions and 2 deletions
4
SSnR.py
4
SSnR.py
|
@ -94,8 +94,8 @@ def main():
|
|||
string = args["string"]
|
||||
is_file = False
|
||||
else:
|
||||
print("Error: You need an input string or file")
|
||||
return -1
|
||||
string = sys.stdin.read()
|
||||
is_file = False
|
||||
|
||||
# Get output
|
||||
output_files = []
|
||||
|
|
Loading…
Reference in a new issue