mirror of
https://github.com/nishiki/manage-password.git
synced 2024-11-27 07:33:05 +00:00
lib/Sync.rb
This commit is contained in:
parent
b5230f2cfe
commit
724fc1752a
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue