Move wo_ram & wo_swap variables in addswap.py

This commit is contained in:
VirtuBox
2019-06-19 17:20:24 +02:00
parent f3a74545c3
commit e71be9d684
2 changed files with 5 additions and 6 deletions

View File

@@ -74,10 +74,6 @@ class WOVariables():
os.system(
"/usr/bin/git config --global user.email {0}".format(wo_email))
# Get System RAM and SWAP details
wo_ram = psutil.virtual_memory().total / (1024 * 1024)
wo_swap = psutil.swap_memory().total / (1024 * 1024)
# MySQL hostname
wo_mysql_host = ""
config = configparser.RawConfigParser()