From 1b7f4d284a7aecd2ba7cf006a914c9c030f5fd1f Mon Sep 17 00:00:00 2001
From: Brandon Hewer <brandon.hewer@stfc.ac.uk>
Date: Thu, 5 Oct 2017 17:16:19 +0100
Subject: [PATCH] Update RunPythonScript-v1.rst

---
 docs/source/algorithms/RunPythonScript-v1.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docs/source/algorithms/RunPythonScript-v1.rst b/docs/source/algorithms/RunPythonScript-v1.rst
index ea1888422f5..3ef644b912c 100644
--- a/docs/source/algorithms/RunPythonScript-v1.rst
+++ b/docs/source/algorithms/RunPythonScript-v1.rst
@@ -41,7 +41,7 @@ Usage
     RunPythonScript(InputWorkspace=ws,Code=script,OutputWorkspace="wsOut")
 
     wsOut = mtd["wsOut"]
-    print("The workspace contained a total of {:d} counts".format(wsOut.readY(0)[0]))
+    print("The workspace contained a total of {:d} counts".format(int(wsOut.readY(0)[0])))
 
 Output:
 
-- 
GitLab