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("---")