robertoszek / pleroma-bot

Bot for mirroring one or multiple Twitter accounts in Pleroma/Mastodon/Misskey.
https://robertoszek.github.io/pleroma-bot
MIT License
102 stars 19 forks source link

fix: KeyError: 'cw' #128

Open wzyboy opened 1 year ago

wzyboy commented 1 year ago

Key 'cw' is not guaranteed in some cases, where KeyError exception is raised. The PR changes key access method to dict.get() so no exceptions are raised in these cases.