How45 / Price_Tracker

0 stars 1 forks source link

CSV file creating empty space #5

Closed How45 closed 1 year ago

How45 commented 2 years ago

When adding a new item to the file it;

  1. it adds the whole text on a line already occupied
  2. then creates two empty lines

Fix this;

How45 commented 2 years ago

in the section (line 173):

file = open(name+".csv","a",newline='')

just had to add

newline=''
How45 commented 1 year ago

Needs blank line in CSV file