mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-11 07:46:10 +01:00
bug fix: backups
This commit is contained in:
@@ -233,7 +233,7 @@ class backupUtilities:
|
|||||||
|
|
||||||
xmlpretty = prettify(metaFileXML).encode('ascii', 'ignore')
|
xmlpretty = prettify(metaFileXML).encode('ascii', 'ignore')
|
||||||
metaFile = open(metaPath, 'w')
|
metaFile = open(metaPath, 'w')
|
||||||
metaFile.write(xmlpretty)
|
metaFile.write(xmlpretty.decode())
|
||||||
metaFile.close()
|
metaFile.close()
|
||||||
os.chmod(metaPath, 0o777)
|
os.chmod(metaPath, 0o777)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user