From 6fd6b47dee296a311aaa6ac629ca33e8026d58c7 Mon Sep 17 00:00:00 2001 From: Andrii Lytovchenko Date: Thu, 23 Jun 2022 23:37:51 +0300 Subject: [PATCH] fix: made tasks argument optional --- src/WebAppDIRAC/WebApp/handler/TransformationMonitorHandler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/WebAppDIRAC/WebApp/handler/TransformationMonitorHandler.py b/src/WebAppDIRAC/WebApp/handler/TransformationMonitorHandler.py index c1dbee854..6e093fb03 100644 --- a/src/WebAppDIRAC/WebApp/handler/TransformationMonitorHandler.py +++ b/src/WebAppDIRAC/WebApp/handler/TransformationMonitorHandler.py @@ -152,7 +152,7 @@ def web_getTransformationData( gLogger.info("\033[0;31m PRODUCTION SUBMIT REQUEST: \033[0m %s" % (datetime.datetime.utcnow() - pagestart)) return callback - def web_action(self, data_kind, tasks: int, id: int): + def web_action(self, data_kind, id: int, tasks: int = None): if data_kind == "getLoggingInfo": return self.__getLoggingInfo(id) if data_kind == "fileStatus":