Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Oops: check for post-id not id. Explains why incremental backup wasn'…

…t working
  • Loading branch information...
commit 4aca80f33424159f935ea1cc443157d063a76553 1 parent 96a0b02
Jon Smajda authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  tumblr4r_backup.rb
2  tumblr4r_backup.rb
View
@@ -42,7 +42,7 @@ def get_existing
existing = []
Dir["#{@backup_path}/*.markdown"].each do |f|
postmeta = YAML.load_file(f)
- existing.push(postmeta["id"])
+ existing.push(postmeta["post-id"])
end
return existing
end
Please sign in to comment.
Something went wrong with that request. Please try again.