Remove the hack, it won't work
This commit is contained in:
parent
4cf1e39d0b
commit
b7052a807f
1 changed files with 0 additions and 5 deletions
|
@ -32,11 +32,6 @@ def main():
|
||||||
state = State.unknown
|
state = State.unknown
|
||||||
text = list()
|
text = list()
|
||||||
|
|
||||||
# https://stackoverflow.com/questions/33871836/find-out-if-there-is-input-from-a-pipe-or-not-in-python
|
|
||||||
if not select.select([sys.stdin], [], [], 0.0)[0]:
|
|
||||||
print("No input processed.")
|
|
||||||
sys.exit(1)
|
|
||||||
|
|
||||||
for line in fileinput.input():
|
for line in fileinput.input():
|
||||||
|
|
||||||
line = line.strip()
|
line = line.strip()
|
||||||
|
|
Loading…
Add table
Reference in a new issue