minor fix

This commit is contained in:
Maciej Sobkowiak 2021-04-13 02:07:39 +02:00
parent df41d0c25b
commit 59013115c0

View File

@ -9,10 +9,6 @@ data = []
class DF: class DF:
href = None
title = None
date = None
newspaper = None
def __init__(self, href, title, date, newspaper): def __init__(self, href, title, date, newspaper):
self.href = href self.href = href
@ -28,7 +24,6 @@ class DF:
writer.writerow([self.date, self.title, self.newspaper, self.href]) writer.writerow([self.date, self.title, self.newspaper, self.href])
def print_data(self): def print_data(self):
pass
print('<' + self.date + ', ' + self.title + ', ' + print('<' + self.date + ', ' + self.title + ', ' +
self.newspaper + ', ' + self.href + '>') self.newspaper + ', ' + self.href + '>')