stop writing writing header to one-column list

This feels like it's asking for trouble. Description of the contents
of the list is in the filename.
This commit is contained in:
Benjamin Mako Hill 2020-03-31 08:35:23 -07:00
parent 09d171608f
commit 72bf7bcd37
2 changed files with 0 additions and 2 deletions

View File

@ -79,7 +79,6 @@ def main():
t_Out = f"{outputPath}dailyviews{queryDate}.tsv"
with open(articleFile, 'r') as infile:
next(infile) #skip header
articleList = list(infile)
j = []

View File

@ -109,7 +109,6 @@ def main():
#3 Saves the list to a file
with open(outputFile, 'w') as f:
f.write("Article\n")
f.write('\n'.join(articleNames)+'\n')
logging.debug(f"Finished scrape and made a new article file at {datetime.datetime.now()}")