mirror of
https://gitlab.com/simple-stock-bots/simple-stock-bot.git
synced 2025-06-16 15:17:28 +00:00
remove debugging prints
This commit is contained in:
parent
6d269c7466
commit
a9b157cb4d
@ -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(
|
||||
"`", "'"
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user