bug fix: v2backups

This commit is contained in:
usman@cyberpersons.com
2023-04-13 04:43:24 +05:00
parent b85d1eb69d
commit 138cc26b2e

View File

@@ -997,12 +997,12 @@ def selectwebsiteCreatev2(request):
command = f'mkdir -p {LocalRclonePath}'
pu.executioner(command, obj.externalApp)
content = '''
[local]
type = local
'''
command = f"echo '{content}' > {path}"
pu.executioner(command, obj.externalApp, True)
# content = '''
# [local]
# type = local
# '''
# command = f"echo '{content}' > {path}"
# pu.executioner(command, obj.externalApp, True)
command = 'cat %s' % (path)
result = pu.outputExecutioner(command)