mirror of
https://github.com/nishiki/manage-password.git
synced 2025-02-20 01:50:04 +00:00
fix a bug
This commit is contained in:
parent
a055925866
commit
c3d484a85e
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ module MPW
|
||||||
# @rtrn: false if the connection fail
|
# @rtrn: false if the connection fail
|
||||||
def connect(host, user, password, path, port=nil)
|
def connect(host, user, password, path, port=nil)
|
||||||
@host = host
|
@host = host
|
||||||
@port = not port.instance_of?(Integer) ? 2201 : port
|
@port = !port.instance_of?(Integer) ? 2201 : port
|
||||||
@gpg_key = user
|
@gpg_key = user
|
||||||
@password = password
|
@password = password
|
||||||
@suffix = path
|
@suffix = path
|
||||||
|
|
Loading…
Add table
Reference in a new issue