From aa4cadffde3412044dbfff0facc5ec766df9e9f6 Mon Sep 17 00:00:00 2001 From: Aravindh Puthiyaparambil Date: Mon, 28 Dec 2020 14:46:25 -0500 Subject: [PATCH] Fix construction of required parameters "serverPort" in commandSuffix() is being treated as an integer when constructing a string. This commit fixes that by converting it into a string. Ref: https://github.com/FNNDSC/ChRIS_ultron_backEnd/issues/222#issuecomment-725556064 --- pypx/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pypx/base.py b/pypx/base.py index 9563a24..92ae784 100644 --- a/pypx/base.py +++ b/pypx/base.py @@ -110,7 +110,7 @@ def commandSuffix(self): command_suffix = ' -aec ' + self.aec command_suffix += ' -aet ' + self.aet command_suffix += ' ' + self.serverIP - command_suffix += ' ' + self.serverPort + command_suffix += ' ' + str(self.serverPort) return command_suffix