diff --git a/.gitignore b/.gitignore index 57a2dd4..86ef7d7 100644 --- a/.gitignore +++ b/.gitignore @@ -2,4 +2,5 @@ config.yaml _assets pypi-readme.md archive -dist \ No newline at end of file +dist +.pytest_cache/* \ No newline at end of file diff --git a/ephemetoot/ephemetoot.py b/ephemetoot/ephemetoot.py index 1395dd5..8002de1 100644 --- a/ephemetoot/ephemetoot.py +++ b/ephemetoot/ephemetoot.py @@ -382,7 +382,7 @@ def print_rate_limit_message(mastodon): def retry_on_error(options, mastodon, toot, attempts=0): - if attempts < 6: + if attempts < 6: try: console_print( "Attempt " + str(attempts) + " at " + datestamp_now(), options, False @@ -587,11 +587,11 @@ def check_batch(config, options, mastodon, user_id, timeline, deleted_count=0): except IndexError: if not options.quiet or options.quiet <= 1: print( - "No toots found for " - + config["username"] - + "@" - + config["base_url"] - + ".\n" + "No toots found for " + + config["username"] + + "@" + + config["base_url"] + + ".\n" ) diff --git a/pyproject.toml b/pyproject.toml index dbd8ec0..39560ac 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "ephemetoot" -version = "3.1.1a1" +version = "3.1.1" description = "A command line tool to delete your old toots" authors = ["Hugh Rundle "] license = "GPL-3.0-or-later"