Use os.path.join
This commit is contained in:
parent
44bc940675
commit
013d588537
|
@ -55,7 +55,7 @@ def main():
|
|||
# Default to ~/.ssh/known_hosts
|
||||
parser.add_argument('infile',
|
||||
nargs = '?',
|
||||
default = homedir + '/.ssh/known_hosts',
|
||||
default = os.path.join(homedir, '.ssh/known_hosts'),
|
||||
help = 'a file in .ssh/known_hosts format'
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue