sd# Please enter the commit message for your changes. Lines starting

This commit is contained in:
jane 2021-05-26 12:42:42 -04:00
parent 0fab34c3b3
commit 777fb91294
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
import ws281x from 'rpi-ws281x'
import * as fs from 'fs'
import { Logger, levels } from './logger'
import { Logger, levels } from './logger.js'
const cfg = JSON.parse(fs.readFileSync('./config.json'));
const log = new Logger("lights", cfg.log_level ? levels[cfg.log_level] : levels.INFO);