diff options
Diffstat (limited to 'abs/core/supplemental-web/contents')
-rwxr-xr-x | abs/core/supplemental-web/contents/list_cardmap.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/abs/core/supplemental-web/contents/list_cardmap.py b/abs/core/supplemental-web/contents/list_cardmap.py index 0c28e0e..16349b7 100755 --- a/abs/core/supplemental-web/contents/list_cardmap.py +++ b/abs/core/supplemental-web/contents/list_cardmap.py @@ -98,13 +98,21 @@ print ''' ''' for statictuner in mbelist: + hdhr_url = None if statictuner[1].find("notfound") > -1 : print "Couldn't open tuner map" print "</br>" else: + if statictuner[0] == "hdhr": + hdhr_url = statictuner[1].split("-")[-1] + print "<li> %s  %s" %(statictuner[1] ,statictuner[0]) print "</br>" print " static device node: %s" %statictuner[2] + + if hdhr_url: + print "</br>" + print ' device webpage: <a href="http://%s">http://%s</a> ' %(hdhr_url.strip(),hdhr_url.strip()) print "</br>" print "</br>" |