Update cyberPanel.py

Fix old datetime format to match current so its uniform and clear.
This commit is contained in:
WhatTheServer
2020-12-24 18:42:52 -05:00
committed by GitHub
parent 9920b52750
commit fd71a275d5

View File

@@ -335,7 +335,7 @@ class cyberPanel:
def createBackup(self, virtualHostName):
try:
backupLogPath = "/usr/local/lscp/logs/backup_log."+time.strftime("%I-%M-%S-%a-%b-%Y")
backupLogPath = "/usr/local/lscp/logs/backup_log."+time.strftime("%m.%d.%Y_%H-%M-%S")
print('Backup logs to be generated in %s' % (backupLogPath))