Use os.path.join

This commit is contained in:
Juhani Krekelä 2018-09-01 21:49:11 +03:00
parent 44bc940675
commit 013d588537
1 changed files with 1 additions and 1 deletions

View File

@ -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'
)