Update main.js

This commit is contained in:
hl 2018-09-29 11:06:29 +08:00
parent f7096744c2
commit f6d8d162d2

View File

@ -14,7 +14,7 @@
const utils = require(__dirname + '/lib/utils'); // Get common adapter utils const utils = require(__dirname + '/lib/utils'); // Get common adapter utils
const Pushover = require('pushover-notifications'); const Pushover = require('pushover-notifications');
const Request = require('request'); const request = require('request');
const adapter = new utils.Adapter('pushover'); const adapter = new utils.Adapter('pushover');
@ -104,7 +104,7 @@ function createObject() {
function main() { function main() {
// Adapter is started only if some one writes into "system.adapter.pushover.X.messagebox" new value // Adapter is started only if some one writes into "system.adapter.pushover.X.messagebox" new value
createObject(); //createObject();
processMessages(); processMessages();
stop(); stop();
} }