Skip to content

Commit

Permalink
Cast port to string
Browse files Browse the repository at this point in the history
  • Loading branch information
aanil committed Feb 15, 2022
1 parent 689ec14 commit 3298549
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion multiqc_ngi/multiqc_ngi.py
Original file line number Diff line number Diff line change
Expand Up @@ -579,7 +579,7 @@ def __init__(self):
if getattr(config, 'remote_sshkey', None) is not None:
scp_command.extend(['-i', config.remote_sshkey])
if getattr(config, 'remote_port', None) is not None:
scp_command.extend(['-P', config.remote_port])
scp_command.extend(['-P', str(config.remote_port)])
scp_command.extend([config.output_fn, config.remote_destination])
log.debug('Transferring report with command: {}'.format(' '.join(scp_command)))
DEVNULL = open(os.devnull, 'wb')
Expand Down

0 comments on commit 3298549

Please sign in to comment.