aboutsummaryrefslogtreecommitdiffhomepage
path: root/core/locale.lua
diff options
context:
space:
mode:
authorGravatar mitchell <70453897+667e-11@users.noreply.github.com>2020-02-26 11:17:46 -0500
committerGravatar mitchell <70453897+667e-11@users.noreply.github.com>2020-02-26 11:17:46 -0500
commit0e07b7478899600805c32564f1b88c1aaedbe16f (patch)
tree0a0db93a3ba009e06e0cafc700b78cd65fba3e24 /core/locale.lua
parenta291022fbd9dbc749508917dfa10f40ad0323436 (diff)
Small code cleanup.
Diffstat (limited to 'core/locale.lua')
-rw-r--r--core/locale.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/locale.lua b/core/locale.lua
index 2c94ef1c..48de4af5 100644
--- a/core/locale.lua
+++ b/core/locale.lua
@@ -17,7 +17,7 @@ if not f then
if lang then f = io.open(_HOME..'/core/locales/locale.'..lang..'.conf') end
end
if not f then f = io.open(_HOME..'/core/locale.conf', 'rb') end
-assert(f, '"core/locale.conf" not found.')
+assert(f, '"core/locale.conf" not found')
for line in f:lines() do
-- Any line that starts with a non-word character except '[' is considered a
-- comment.