Added callback function to first reload function

This commit is contained in:
2017-06-03 19:18:03 +02:00
parent 7558afc444
commit 557aa526d1

View File

@@ -72,5 +72,5 @@ var server = app.listen(3000, function () {
pythonOptions: ['-u'],
args: 'reload'
};
PythonShell.run('scripts/fanController.py', options);
PythonShell.run('scripts/fanController.py', options, function (err, results) {});
})