mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2026-01-15 20:12:06 +01:00
Update cyberPanel.py
Fix old datetime format to match current so its uniform and clear.
This commit is contained in:
@@ -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))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user