1
0
mirror of https://gitlab.com/simple-stock-bots/simple-stock-bot.git synced 2025-06-15 23:06:40 +00:00

remove debugging prints

This commit is contained in:
Anson Biggs 2021-11-07 11:44:15 -07:00
parent 6d269c7466
commit a9b157cb4d

View File

@ -70,11 +70,9 @@ class IEX_Symbol:
# Make sure API returned valid JSON
try:
resp_json = resp.json()
print(type(resp_json))
# IEX uses backtick ` as apostrophe which breaks telegram markdown parsing
if type(resp_json) is dict:
print("Fixing format ` to '")
resp_json["companyName"] = resp_json.get("companyName", "").replace(
"`", "'"
)