imbstt / impf-progress-bot

The script that ran the (now defunct) impf_progress Twitter account, tweeting German vaccination updates
MIT License
18 stars 2 forks source link

Änderungen der Spaltennamen in der Datenquelle: #6

Closed imbstt closed 2 years ago

imbstt commented 2 years ago

Impfquote_gesamt_voll wurde geändert zu Impfquote_gesamt_gi

https://github.com/robert-koch-institut/COVID-19-Impfungen_in_Deutschland/commit/a2b91701055b6debbf62b7b848e325330103494a#diff-1550ec65ac92f65817fc28928dfef526912b5f52356ff43651369bae92f56031L293

Traceback (most recent call last):
  File "bot.py", line 150, in <module>
    run_all()
  File "bot.py", line 137, in run_all
    should_send = check_if_should_tweet(data)
  File "bot.py", line 83, in check_if_should_tweet
    impf_quote_voll_new = float(data.get(CSV_COLUMN_VOLL))
TypeError: float() argument must be a string or a number, not 'NoneType'