fix imports

This commit is contained in:
jane 2021-05-26 12:43:05 -04:00
parent 777fb91294
commit 7ce0472415
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.js'
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);