Applying pycodestyle recommendations on apps.py

This commit is contained in:
Kumi 2019-04-21 07:39:44 +00:00
parent 4287c4e40e
commit 227e24a2ab

View file

@ -3,6 +3,7 @@ from django.apps import AppConfig
import glob import glob
import os import os
class ManagerConfig(AppConfig): class ManagerConfig(AppConfig):
name = 'manager' name = 'manager'
verbose_name = 'VPN360 Management' verbose_name = 'VPN360 Management'
@ -13,5 +14,5 @@ class ManagerConfig(AppConfig):
for device in glob.glob("/opt/vpnmanager/imagebuilder/*"): for device in glob.glob("/opt/vpnmanager/imagebuilder/*"):
try: try:
os.remove(device + "/.kumilock") os.remove(device + "/.kumilock")
except: finally:
pass pass