From 5cc201fe711ffaed76cb1f4be96fe7f814f137f1 Mon Sep 17 00:00:00 2001 From: Usman Nasir Date: Thu, 7 Jul 2022 22:29:20 +0500 Subject: [PATCH] bug fix: wp scheduled backups --- IncBackups/IncScheduler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/IncBackups/IncScheduler.py b/IncBackups/IncScheduler.py index 4d948ca55..80c587150 100644 --- a/IncBackups/IncScheduler.py +++ b/IncBackups/IncScheduler.py @@ -9,7 +9,7 @@ def main(): parser.add_argument('function', help='Specific a function to call!') args = parser.parse_args() - command = '/usr/local/CyberCP/bin/python /usr/local/CyberCP/plogical/IncScheduler.py %s' % (args.function) + command = f"/usr/local/CyberCP/bin/python /usr/local/CyberCP/plogical/IncScheduler.py '{args.function}'" % () ProcessUtilities.normalExecutioner(command)