mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-15 09:46:11 +01:00
bug fix: email debugger on almalinux
This commit is contained in:
@@ -18,8 +18,8 @@ class findBWUsage:
|
||||
|
||||
if not os.path.exists(path):
|
||||
return 0
|
||||
|
||||
logData = open(path, 'r').readlines()
|
||||
from processUtilities import ProcessUtilities
|
||||
logData = ProcessUtilities.outputExecutioner('cat %s' % (path), 'nobody').splitlines()
|
||||
logDataLines = len(logData)
|
||||
|
||||
if not os.path.exists("/home/"+domainName+"/logs"):
|
||||
@@ -148,5 +148,4 @@ class findBWUsage:
|
||||
return 1
|
||||
|
||||
|
||||
|
||||
findBWUsage.startCalculations()
|
||||
Reference in New Issue
Block a user