retain current content

This commit is contained in:
usman@cyberpersons.com
2023-03-13 11:13:50 +05:00
parent 37db59b027
commit 7db23589d1

View File

@@ -71,7 +71,7 @@ class CPBackupsV2:
ProcessUtilities.executioner(command, self.website.externalApp)
command = f'cat {self.ConfigFilePath}'
CurrentContent = ProcessUtilities.outputExecutioner(command)
CurrentContent = ProcessUtilities.outputExecutioner(command, self.website.externalApp)
if CurrentContent.find('No such file or directory'):
CurrentContent = ''