mirror of
https://github.com/KevinMidboe/fanController.git
synced 2025-10-29 17:40:22 +00:00
Added callback function to first reload function
This commit is contained in:
@@ -72,5 +72,5 @@ var server = app.listen(3000, function () {
|
|||||||
pythonOptions: ['-u'],
|
pythonOptions: ['-u'],
|
||||||
args: 'reload'
|
args: 'reload'
|
||||||
};
|
};
|
||||||
PythonShell.run('scripts/fanController.py', options);
|
PythonShell.run('scripts/fanController.py', options, function (err, results) {});
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user