Tweaked Hacker News recipe

This commit is contained in:
Tom Scholl 2011-08-29 17:55:12 +01:00
parent 02f58a2509
commit c1173e30cf

View File

@ -98,10 +98,6 @@ class HackerNews(BasicNewsRecipe):
else: else:
content = self.get_readable_content(url) content = self.get_readable_content(url)
f = open('/tmp/hn_content.html', 'w')
f.write(content)
f.close()
self.temp_files.append(PersistentTemporaryFile('_fa.html')) self.temp_files.append(PersistentTemporaryFile('_fa.html'))
self.temp_files[-1].write(content) self.temp_files[-1].write(content)
self.temp_files[-1].close() self.temp_files[-1].close()