From 59395ce7db68ddeb648edf516ecacbd1b69b1b87 Mon Sep 17 00:00:00 2001 From: nishiki Date: Mon, 11 May 2015 19:31:51 +0200 Subject: [PATCH] fix bug in sync --- lib/Sync.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Sync.rb b/lib/Sync.rb index 4bff9f0..bfb4d88 100644 --- a/lib/Sync.rb +++ b/lib/Sync.rb @@ -93,7 +93,7 @@ module MPW end # Remove an old item - if item.last_sync.to_i < @config.last_sync + if item.last_sync.to_i < @config.last_sync and item.last_edit < @config.last_sync item.delete end end