bug fix: plogical/vhost.py

This commit is contained in:
Usman Nasir
2020-05-24 22:43:58 +05:00
parent ae671ec04d
commit 183e55bdeb
2 changed files with 1 additions and 2 deletions

View File

@@ -87,7 +87,6 @@ class backupSchedule:
if os.path.exists(status): if os.path.exists(status):
status = open(status, 'r').read() status = open(status, 'r').read()
print(status)
time.sleep(2) time.sleep(2)
if status.find("Completed") > -1: if status.find("Completed") > -1:

View File

@@ -91,7 +91,7 @@ class vhost:
try: try:
os.makedirs(pathHTML) os.makedirs(pathHTML)
if ProcessUtilities.decideDistro() == ProcessUtilities. or ProcessUtilities.decideDistro() == ProcessUtilities.cent8: if ProcessUtilities.decideDistro() == ProcessUtilities.centos or ProcessUtilities.decideDistro() == ProcessUtilities.cent8:
groupName = 'nobody' groupName = 'nobody'
else: else:
groupName = 'nogroup' groupName = 'nogroup'