mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-06 13:25:51 +01:00
bug fix: remove not needed php on cent8 and ub20
This commit is contained in:
@@ -37,7 +37,10 @@ class backupSchedule:
|
||||
print(("[" + time.strftime("%m.%d.%Y_%H-%M-%S") + "] "+ message + "\n"))
|
||||
file.close()
|
||||
|
||||
BackupJobLogs(owner=backupSchedule.backupLog, status=status, message="[" + time.strftime("%m.%d.%Y_%H-%M-%S") + "] "+ message).save()
|
||||
if backupSchedule.backupLog == '':
|
||||
pass
|
||||
else:
|
||||
BackupJobLogs(owner=backupSchedule.backupLog, status=status, message="[" + time.strftime("%m.%d.%Y_%H-%M-%S") + "] "+ message).save()
|
||||
|
||||
except IOError as msg:
|
||||
return "Can not write to error file."
|
||||
|
||||
Reference in New Issue
Block a user