Show famfamfam ticks or crosses for existing or missing paths or executables in settings details view
This commit is contained in:
@@ -90,7 +90,10 @@ def _return_type(value):
|
||||
|
||||
def _exists(path):
|
||||
try:
|
||||
return os.path.exists(path)
|
||||
if os.path.exists(path):
|
||||
return '<span class="famfam active famfam-tick"></span>'
|
||||
else:
|
||||
return '<span class="famfam active famfam-cross"></span>'
|
||||
except Exception, exc:
|
||||
return exc
|
||||
|
||||
|
||||
Reference in New Issue
Block a user