Skip to content

Commit 7ec2b34

Browse files
authored
Merge pull request #3 from aanil/master
Cast port to string
2 parents 689ec14 + 3298549 commit 7ec2b34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

multiqc_ngi/multiqc_ngi.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -579,7 +579,7 @@ def __init__(self):
579579
if getattr(config, 'remote_sshkey', None) is not None:
580580
scp_command.extend(['-i', config.remote_sshkey])
581581
if getattr(config, 'remote_port', None) is not None:
582-
scp_command.extend(['-P', config.remote_port])
582+
scp_command.extend(['-P', str(config.remote_port)])
583583
scp_command.extend([config.output_fn, config.remote_destination])
584584
log.debug('Transferring report with command: {}'.format(' '.join(scp_command)))
585585
DEVNULL = open(os.devnull, 'wb')

0 commit comments

Comments
 (0)