From ae98aaf9d5239a8459219016d85ca2f15ae14bbd Mon Sep 17 00:00:00 2001 From: "kepler155c@gmail.com" Date: Sun, 21 Jul 2019 10:16:47 -0600 Subject: [PATCH] lint warnings --- sys/modules/opus/ui.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/modules/opus/ui.lua b/sys/modules/opus/ui.lua index 409ec85..9e9a4c5 100644 --- a/sys/modules/opus/ui.lua +++ b/sys/modules/opus/ui.lua @@ -8,9 +8,9 @@ local Util = require('opus.util') local _rep = string.rep local _sub = string.sub local colors = _G.colors +local device = _G.device local fs = _G.fs local os = _G.os -local peripheral = _G.peripheral local term = _G.term local textutils = _G.textutils @@ -178,7 +178,7 @@ function Manager:configure(appName, ...) if defaults.device.name == 'terminal' then dev = term.current() else - dev = _G.device[defaults.device.name] + dev = device[defaults.device.name] end if not dev then