144
145
146
147
148
149
150
151
152
153
154
155
156
157
158 | log.EXEC(cmd)
os.system(cmd)
except:
log.ERR("Command not found:", cmd)
# Open help browser, chm, or streamtuner2 pages
def help(*args):
for path in ("./help", "/usr/share/doc/streamtuner2/help", "./usr/share/doc/streamtuner2"):
if not os.path.exists(path):
continue
if conf.windows:
return run(("%s/help.chm" % path).replace("/", '\\'))
else:
return run("yelp %s" % path)
return browser("http://fossil.include-once.org/streamtuner2/doc/tip/help/html/index.html") |
|
| 144
145
146
147
148
149
150
151
152
153
154
155
156
157
158 | log.EXEC(cmd)
os.system(cmd)
except:
log.ERR("Command not found:", cmd)
# Open help browser, chm, or streamtuner2 pages
def help(*args):
for path in ("./help", "/usr/share/doc/streamtuner2/help", "../share/streamtuner2/help"):
if not os.path.exists(path):
continue
if conf.windows:
return run(("%s/help.chm" % path).replace("/", '\\'))
else:
return run("yelp %s" % path)
return browser("http://fossil.include-once.org/streamtuner2/doc/tip/help/html/index.html") |