1
0
Fork 0
mirror of https://github.com/nishiki/manage-password.git synced 2024-11-27 07:33:05 +00:00
This commit is contained in:
nishiki 2015-05-11 19:23:59 +02:00
parent 2d7dacb02c
commit b9ebe9de3f

View file

@ -93,7 +93,7 @@ module MPW
end
# Remove an old item
if item.last_sync < @config.last_sync
if item.last_sync.to_i < @config.last_sync
item.delete
end
end
@ -128,7 +128,7 @@ module MPW
@config.set_last_sync
return true
rescue Exception => e
# rescue Exception => e
@error_msg = "#{I18n.t('error.sync.unknown')} #{e}"
return false
end