Don't zero the archive file if no new tweets (ick)
This commit is contained in:
parent
ee6fd9c4c4
commit
21f2f84a79
1 changed files with 1 additions and 1 deletions
|
@ -109,8 +109,8 @@ module Ebooks
|
|||
@tweets = tweets.map(&:attrs).each { |tw|
|
||||
tw.delete(:entities)
|
||||
} + @tweets
|
||||
file.write(JSON.pretty_generate(@tweets))
|
||||
end
|
||||
file.write(JSON.pretty_generate(@tweets))
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue