1
0
mirror of https://github.com/kepler155c/opus synced 2025-01-05 21:30:28 +00:00

lint warnings

This commit is contained in:
kepler155c@gmail.com 2019-07-21 10:16:47 -06:00
parent ec7fc5bb23
commit ae98aaf9d5

View File

@ -8,9 +8,9 @@ local Util = require('opus.util')
local _rep = string.rep local _rep = string.rep
local _sub = string.sub local _sub = string.sub
local colors = _G.colors local colors = _G.colors
local device = _G.device
local fs = _G.fs local fs = _G.fs
local os = _G.os local os = _G.os
local peripheral = _G.peripheral
local term = _G.term local term = _G.term
local textutils = _G.textutils local textutils = _G.textutils
@ -178,7 +178,7 @@ function Manager:configure(appName, ...)
if defaults.device.name == 'terminal' then if defaults.device.name == 'terminal' then
dev = term.current() dev = term.current()
else else
dev = _G.device[defaults.device.name] dev = device[defaults.device.name]
end end
if not dev then if not dev then