mirror of
https://github.com/nishiki/manage-password.git
synced 2024-11-27 07:33:05 +00:00
fix new syntax for csv
This commit is contained in:
parent
33f92d9aae
commit
ce05c53c20
1 changed files with 4 additions and 4 deletions
|
@ -16,11 +16,11 @@ class CliSSH < Cli
|
|||
|
||||
if result.length > 0
|
||||
result.each do |r|
|
||||
server = @server.nil? ? r[MPW::MPW::SERVER] : @server
|
||||
port = @port.nil? ? r[MPW::MPW::PORT] : @port
|
||||
login = @login.nil? ? r[MPW::MPW::LOGIN] : @login
|
||||
server = @server.nil? ? r[:host] : @server
|
||||
port = @port.nil? ? r[:port] : @port
|
||||
login = @login.nil? ? r[:login] : @login
|
||||
|
||||
passwd = r[MPW::MPW::PASSWORD]
|
||||
passwd = r[:password]
|
||||
|
||||
if port.nil? || port.empty?
|
||||
port = 22
|
||||
|
|
Loading…
Reference in a new issue