mirror of
https://github.com/hughrun/ephemetoot
synced 2025-02-19 21:20:34 +01:00
suppress IndexError message for q=2 or more
- adds username to "No toots found" message - only prints if quiet <= 1
This commit is contained in:
parent
fbbea05fab
commit
a3f5bd4c53
@ -585,7 +585,14 @@ def check_batch(config, options, mastodon, user_id, timeline, deleted_count=0):
|
||||
print("---------------------------------------\n")
|
||||
|
||||
except IndexError:
|
||||
print("No toots found!\n")
|
||||
if not options.quiet or options.quiet <= 1:
|
||||
print(
|
||||
"No toots found for "
|
||||
+ config["username"]
|
||||
+ "@"
|
||||
+ config["base_url"]
|
||||
+ ".\n"
|
||||
)
|
||||
|
||||
|
||||
def check_toots(config, options, retry_count=0):
|
||||
|
Loading…
x
Reference in New Issue
Block a user