From c96881e992a801492fdb0bf65095eb712701d97c Mon Sep 17 00:00:00 2001 From: piratesecurity Date: Sun, 14 Aug 2016 09:39:21 +0530 Subject: [PATCH] Minor Modification --- logs.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/logs.py b/logs.py index 2321b980cd5..14af7d285e1 100644 --- a/logs.py +++ b/logs.py @@ -20,4 +20,6 @@ files1=files+"."+strftime("%Y-%m-%d")+".zip" # Create the Variable files1, this is the files in the directory, then we add a suffix with the date and the zip extension os.chdir(logsdir) # Change directory to the logsdir os.system(zip_program + " " + files1 +" "+ files) # Zip the logs into dated zip files for each server. - 1.1 - os.remove(files) # Remove the original log files + os.remove(files) + +print 45 # Remove the original log files