From 8e3f4af02e2ef1e8bb6e8eedc20bbf4497d82f77 Mon Sep 17 00:00:00 2001 From: curly60e <55191248+curly60e@users.noreply.github.com> Date: Tue, 18 May 2021 10:15:27 -0300 Subject: [PATCH] Update ppi.py --- ppi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ppi.py b/ppi.py index 3726ad2..ef55dae 100644 --- a/ppi.py +++ b/ppi.py @@ -69,7 +69,7 @@ def opreturn(): message = input("Message: ") curl = "curl --header " + """"Content-Type: application/json" """ + "--request POST --data " + """'{"message":""" + '"{}...PyBLOCK"'.format(message) + "}'" + " https://opreturnbot.com/api/create" while True: - if len(message) > 80: + if len(message) > 70: clear() blogo() print("Error! Only 80 characters allowed!")