docker manager

This commit is contained in:
usmannasir
2019-01-08 22:38:33 +05:00
parent bee92ea532
commit 01fc4866f5
18 changed files with 734 additions and 479 deletions

View File

@@ -1345,9 +1345,9 @@ class FirewallManager:
if fileName == 'categories.conf':
continue
if fileName.endswith('dis'):
if fileName.endswith('bak'):
status = 0
fileName = fileName.rstrip('.dis')
fileName = fileName.rstrip('.bak')
elif fileName.endswith('conf'):
status = 1
else: