From 90d5501ec8b19b26a8f1c364ead9195052d198e1 Mon Sep 17 00:00:00 2001 From: Michael Beck Date: Fri, 23 Jun 2023 23:53:01 +0200 Subject: [PATCH] adds comment --- collect.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/collect.py b/collect.py index 57466b8..cd9673b 100644 --- a/collect.py +++ b/collect.py @@ -251,7 +251,7 @@ with open(f"{logfile}"+timeStartScrape.strftime(fTimeFormat)+"_missing.log", "w" if file not in tweetfiles: fout.write(f'Missing: {file}.\n') # if file is not in tweetfiles, print error message. else: - fout.write('all slices scraped.') + fout.write(f'{file:<30}:all slices scraped.\n') ## Merge .csv files. # check if file_alltweets (previously scraped tweets that have been merged @@ -272,6 +272,8 @@ if tweetfiles: fout.write(f.read()) os.chdir(wd) # go back to wd +################### +# finish logging # Report timing info. timeEndMerge = datetime.now() print("---")