make sending more intuitive

This commit is contained in:
Kevin F 2022-12-06 20:17:09 +00:00
parent 00f2f8f4d8
commit bad8e54bf8
2 changed files with 3 additions and 2 deletions

View File

@ -2,7 +2,7 @@ import os
import sys import sys
from base64 import urlsafe_b64encode from base64 import urlsafe_b64encode
VERSION = '1.0.1' VERSION = '1.0.2'
base_url = "https://api.monerosms.com/" base_url = "https://api.monerosms.com/"
proxies = {} proxies = {}

View File

@ -6,7 +6,8 @@ from appconfig import base_url, user, proxies
def send_message(num): def send_message(num):
if not num: if not num:
num = int(input("Enter number to text, EOF to finish: ")) num = int(input("Enter number to text: "))
print("Enter the message to send, then EOF (Ctrl+D) to send")
body = '' body = ''
try: try:
for i in sys.stdin: for i in sys.stdin: