diff --git a/.gitignore b/.gitignore index c1f29f8..9f03741 100644 --- a/.gitignore +++ b/.gitignore @@ -145,5 +145,8 @@ cython_debug/ # project-specific (secret.ini: can't ignore existing file?) secrets.ini queue.txt -/img.png -/src/img.png \ No newline at end of file +img.png +src/img.png +_queue_backup.txt +_current_ttweet.txt +finished_ttweets.txt \ No newline at end of file diff --git a/src/catchup.py b/src/catchup.py index c6cb7e0..8971c19 100644 --- a/src/catchup.py +++ b/src/catchup.py @@ -98,7 +98,7 @@ async def process_queue() -> bool: queued_ttweets_count = queue.get_count() if queued_ttweets_count == 0: - print('post-able queue is empty!') + print('Posting queue is empty!') return True if PROGRAM_ARGS.announce_catchup: diff --git a/src/listen.py b/src/listen.py index bc5a228..7a757a2 100644 --- a/src/listen.py +++ b/src/listen.py @@ -52,5 +52,7 @@ def run(): errors_encountered += 1 print('Ran into an error while in listen mode.') traceback.print_exc() + else: + print('API stream exited gracefully.') print('Re-running listen mode...') print(f'(Had {errors_encountered} errors so far.)') \ No newline at end of file