Skip to content

Commit 7a54bd2

Browse files
authored
Update app.py
1 parent 16837ac commit 7a54bd2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • projects/web page summation

‎projects/web page summation/app.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ def writeCsv(data, LANGUAGE, SENTENCES_COUNT):
6868
length = len(data)
6969
position = data[0].index('website')
7070
for i in range(1, length):
71-
if i is 1:
71+
if i == 1:
7272
_data = data[0]
7373
_data.append("summary")
7474
newFileWriter.writerow(_data)
@@ -143,4 +143,4 @@ def main(argv=sys.argv):
143143

144144

145145
if __name__ == '__main__':
146-
main()
146+
main()

0 commit comments

Comments
 (0)