bug fix: remote transfer

This commit is contained in:
Usman Nasir
2019-08-27 14:40:02 +05:00
parent f5aaabf4b5
commit b2481335b8
21 changed files with 73 additions and 69 deletions

View File

@@ -128,7 +128,7 @@ class CloudManager:
## bw usage calculation
try:
execPath = "sudo python " + virtualHostUtilities.cyberPanel + "/plogical/virtualHostUtilities.py"
execPath = "/usr/local/CyberCP/bin/python2 " + virtualHostUtilities.cyberPanel + "/plogical/virtualHostUtilities.py"
execPath = execPath + " findDomainBW --virtualHostName " + self.data[
'domainName'] + " --bandwidth " + str(
website.package.bandwidth)