2014-05-27, 04:05
Look, since it's obvious you installed a valid version. Just comment out the sanity check:
To look like this:
And let us know how it works. I have an interest.
PHP Code:
@cherrypy.expose()
def index(self):
#Since many linux repos still have psutil version 0.5
if psutil.version_info >= (0, 7):
pass
else:
self.logger.error("Psutil is outdated, needs atleast version 0,7")
return htpc.LOOKUP.get_template('stats.html').render(scriptname='stats')
To look like this:
PHP Code:
@cherrypy.expose()
def index(self):
#Since many linux repos still have psutil version 0.5
#if psutil.version_info >= (0, 7):
# pass
# else:
# self.logger.error("Psutil is outdated, needs atleast version 0,7")
return htpc.LOOKUP.get_template('stats.html').render(scriptname='stats')
And let us know how it works. I have an interest.