Applying pycodestyle recommendations on apps.py
This commit is contained in:
parent
4287c4e40e
commit
227e24a2ab
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue