diff --git a/manager/apps.py b/manager/apps.py index 4a0172a..9cdae2a 100644 --- a/manager/apps.py +++ b/manager/apps.py @@ -6,13 +6,11 @@ import os class ManagerConfig(AppConfig): name = 'manager' - verbose_name = 'VPN360 Management' + verbose_name = 'Remote VR Management' def ready(self): from .logger import logger for device in glob.glob("/opt/vpnmanager/imagebuilder/*"): - try: + if glob.glob(device + "/.kumilock"): os.remove(device + "/.kumilock") - finally: - pass