Skip to content
Permalink
Browse files

bug fix: remove disk calculation

  • Loading branch information
usmannasir committed Jan 8, 2020
1 parent 8a2a6c6 commit 4f98526d3eed47636e559e234eaee0465f33475f
Showing with 3 additions and 1 deletion.
  1. +3 −1 websiteFunctions/website.py
@@ -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}

0 comments on commit 4f98526

Please sign in to comment.
You can’t perform that action at this time.