mirror of
https://github.com/nishiki/manage-password.git
synced 2024-11-26 23:33:03 +00:00
fix bug try sync but sync is nil
This commit is contained in:
parent
9124293607
commit
25a64d0303
1 changed files with 1 additions and 1 deletions
|
@ -317,7 +317,7 @@ class MPW
|
|||
|
||||
# Sync data with remote file
|
||||
def sync
|
||||
return if @config.empty? or @config['sync'].nil?
|
||||
return if @config.empty? or @config['sync']['type'].to_s.empty?
|
||||
|
||||
tmp_file = "#{@wallet_file}.sync"
|
||||
last_sync = @config['last_sync'].to_i
|
||||
|
|
Loading…
Reference in a new issue