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 2014-01-12 14:09:32 +01:00
parent b9988102d6
commit d458a09a75

View file

@ -126,7 +126,7 @@ class Server
last_update = Time.now.to_i
config = {'gpg' => {'salt' => salt,
'hash' => hash,
'last_update' => last_update
'last_update' => last_update,
'data' => data}}
File.open(file_gpg, 'w') do |file|
@ -135,7 +135,7 @@ class Server
send_msg = {:action => 'update',
:gpg_key => msg['gpg_key'],
:last_update => last_update
:last_update => last_update,
:msg => 'done'}
rescue Exception => e
send_msg = {:action => 'update',