Skip to content

Commit

Permalink
bug fix: remove disk calculation
Browse files Browse the repository at this point in the history
  • Loading branch information
usmannasir committed Jan 8, 2020
1 parent 8a2a6c6 commit 4f98526
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion websiteFunctions/website.py
Expand Up @@ -415,7 +415,9 @@ def findWebsitesListJson(self, websites):
else:
state = "Active"

diskUsed = "%sMB" % str(virtualHostUtilities.getDiskUsage("/home/" + items.domain, items.package.diskSpace)[0])
#diskUsed = "%sMB" % str(virtualHostUtilities.getDiskUsage("/home/" + items.domain, items.package.diskSpace)[0])

diskUsed = '1MB' ## to be fixed later

dic = {'domain': items.domain, 'adminEmail': items.adminEmail, 'ipAddress': ipAddress,
'admin': items.admin.userName, 'package': items.package.packageName, 'state': state, 'diskUsed': diskUsed}
Expand Down

0 comments on commit 4f98526

Please sign in to comment.