mirror of
https://github.com/nishiki/manage-password.git
synced 2025-02-17 08:30: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
|
||||
def connect(host, user, password, path, port=nil)
|
||||
@host = host
|
||||
@port = not port.instance_of?(Integer) ? 2201 : port
|
||||
@port = !port.instance_of?(Integer) ? 2201 : port
|
||||
@gpg_key = user
|
||||
@password = password
|
||||
@suffix = path
|
||||
|
|
Loading…
Add table
Reference in a new issue