mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2026-03-01 09:50:44 +01:00
Merge branch 'v2.1.1' into v2.1.1-usman
This commit is contained in:
@@ -388,15 +388,15 @@ class backupUtilities:
|
||||
print('1,None')
|
||||
|
||||
except BaseException as msg:
|
||||
try:
|
||||
os.remove(os.path.join(backupPath, backupName + ".tar.gz"))
|
||||
except:
|
||||
pass
|
||||
|
||||
try:
|
||||
rmtree(tempStoragePath)
|
||||
except:
|
||||
pass
|
||||
# try:
|
||||
# os.remove(os.path.join(backupPath, backupName + ".tar.gz"))
|
||||
# except:
|
||||
# pass
|
||||
#
|
||||
# try:
|
||||
# rmtree(tempStoragePath)
|
||||
# except:
|
||||
# pass
|
||||
|
||||
status = os.path.join(backupPath, 'status')
|
||||
logging.CyberCPLogFileWriter.statusWriter(status, "Aborted, " + str(msg) + ".[365] [5009]")
|
||||
|
||||
Reference in New Issue
Block a user