mirror of
https://github.com/nishiki/manage-password.git
synced 2024-11-23 13:57:52 +00:00
fix bug in sync
This commit is contained in:
parent
3da68967f9
commit
59395ce7db
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue