1
0
Fork 0
mirror of https://github.com/nishiki/manage-password.git synced 2024-10-27 10:43:20 +00:00

lib/Sync.rb

This commit is contained in:
nishiki 2015-03-19 23:17:01 +01:00
parent b5230f2cfe
commit 724fc1752a

View file

@ -121,9 +121,9 @@ module MPW
raise @local.error_msg if not @local.add(item)
end
end
raise @sync.error_msg if not @sync.update(@config.file_gpg)
raise @mpw.error_msg if not @local.encrypt
raise @sync.error_msg if not @sync.update(@config.file_gpg)
return true
rescue Exception => e