Skip to content
This repository has been archived by the owner on Nov 19, 2022. It is now read-only.

1.5.1

Compare
Choose a tag to compare
@jessicarod7 jessicarod7 released this 25 Jan 19:53
· 44 commits to master since this release
1.5.1
c218f0c

This release fixes a bug that causes the bot to crash if it does not find a new Tweet. Replace lines 76-83 with the following, modifying as needed:

            try:
                if alt_replies.index(comic['statuses'][0]['id']) is not ValueError:
                    # This tweet has already been replied to
                    del alt_payload, comic_payload, alt_raw, comic_raw, alt, comic
                    return None # Sleep for 15 seconds
            except ValueError:
                # This tweet has not been replied to
                del alt_payload, comic_payload, alt_raw, comic_raw, alt
                return comic['statuses'][0] # Return comic Tweet