mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2026-01-15 20:12:06 +01:00
bug fix: v2backups
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user