From 8260cc5f4a3ed46cb892daaafff81583d9f0a38f Mon Sep 17 00:00:00 2001 From: midoks Date: Thu, 24 Aug 2023 20:12:50 +0800 Subject: [PATCH] Update crontab_api.py --- class/core/crontab_api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/class/core/crontab_api.py b/class/core/crontab_api.py index facaaba1c..fc374c476 100755 --- a/class/core/crontab_api.py +++ b/class/core/crontab_api.py @@ -613,7 +613,7 @@ echo "-------------------------------------------------------------------------- if not os.path.exists(file): mw.writeFile(file, '') conf = mw.readFile(file) - conf += str(config) + "\n" + conf = conf + str(config) + "\n" if mw.writeFile(file, conf): if not os.path.exists(u_file): mw.execShell("chmod 600 '" + file +