Skip to content

Commit

Permalink
Merge branch 'beta'
Browse files Browse the repository at this point in the history
  • Loading branch information
ticed35 committed Nov 5, 2017
2 parents 0c4dc01 + 64c855b commit 6b52f93
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions core/class/sonybravia.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public static function dependancy_info() {
$return = array();
$return['log'] = 'sonybravia_update';
$return['progress_file'] = jeedom::getTmpFolder('sonybravia') . '/dependance';
if(strpos(exec('python3 --version'), 'Python 3.5') !== false){
if(strpos(exec('python3 --version'), 'Python 3') !== false){
$return['state'] = 'ok';
} else {
$return['state'] = 'nok';
Expand All @@ -46,7 +46,6 @@ public static function deamon_info() {
$return['launchable'] = 'ok';
$retour = true;
foreach (eqLogic::byType('sonybravia', true) as $eqLogic) {
//log::add('sonybravia', 'debug', sonybravia::tv_deamon_info("90:CD:B6:41:F5:2F"));
$_retour = sonybravia::tv_deamon_info($eqLogic->getLogicalId());
if (!$_retour)
$retour = false;
Expand Down

0 comments on commit 6b52f93

Please sign in to comment.