You are viewing a single comment's thread from:

RE: How does TrendChecker work? | Steem-Python Bot Tutorial Part 1

in #utopian-io7 years ago

Hey there!

A little tip for your coding style.

Here you are nesting way too many ifs.
It is alot nicer to read if you get rid of the indentions like this:

if(i["trx_id"] in trx_list["trx_id"]):
    continue
if((i["to"]!=acc_name):
    continue
if(i["memo"]=="")
    continue
....etc.... 

Greetings,
Martin

Sort:  

Thanks for the advice! :)