Poll a Yiim pool block found result page and post a message to Discord chat room
BSD 3-Clause "New" or "Revised" License
1
stars
17
forks
source link
ERROR [refresh_st_exc_markets ] Exception occurred: KeyError: 'buy' #12
Open
itsmylife44 opened 5 years ago
ubuntu-16gb-nbg1-1 yiimp-blocks-found-to-discord[6637]: ERROR [refresh_st_exc_markets ] Exception occurred: KeyError: 'buy' ubuntu-16gb-nbg1-1 yiimp-blocks-found-to-discord[6637]: Traceback (most recent call last): ubuntu-16gb-nbg1-1 yiimp-blocks-found-to-discord[6637]: File "/usr/local/bin/yiimp-blocks-found-to-discord.py", line 58, in refresh_stocks_exchange_markets ubuntu-16gb-nbg1-1 yiimp-blocks-found-to-discord[6637]: new_d_markets = { tuple(x['market_name'].split('_')): float(x['buy']) for x in d_resp } ubuntu-16gb-nbg1-1 yiimp-blocks-found-to-discord[6637]: File "/usr/local/bin/yiimp-blocks-found-to-discord.py", line 58, in <dictcomp> ubuntu-16gb-nbg1-1 yiimp-blocks-found-to-discord[6637]: new_d_markets = { tuple(x['market_name'].split('_')): float(x['buy']) for x in d_resp } ubuntu-16gb-nbg1-1 yiimp-blocks-found-to-discord[6637]: KeyError: 'buy' ubuntu-16gb-nbg1-1 yiimp-blocks-found-to-discord[6637]: INFO [refresh_cryptopia_markets] Refreshed