summaryrefslogtreecommitdiffstats
path: root/pywrap/pcilib.py
diff options
context:
space:
mode:
Diffstat (limited to 'pywrap/pcilib.py')
-rw-r--r--pywrap/pcilib.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/pywrap/pcilib.py b/pywrap/pcilib.py
index f4976bf..a72c79b 100644
--- a/pywrap/pcilib.py
+++ b/pywrap/pcilib.py
@@ -28,6 +28,8 @@ class pcilib(pcipywrap):
curr_script['name'] = script
if 'description' in dir(s.__scipts[script]):
curr_script['description'] = s.__scipts[script].description
+ if 'run' in dir(s.__scipts[script]):
+ curr_script['valid'] = True
scripts.append(curr_script)
return scripts