diff --git a/sysadmin/letsencrypt_mail.py b/sysadmin/letsencrypt_mail.py index 7e0412d..a40b851 100755 --- a/sysadmin/letsencrypt_mail.py +++ b/sysadmin/letsencrypt_mail.py @@ -32,11 +32,6 @@ def main(): state = State.unknown 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(): line = line.strip()