Skip to content

Commit 9ed048c

Browse files
committed
Prices.ini fixes
1 parent 633d0d7 commit 9ed048c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/007-ini.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ Ini = (function()
8484
-- Could not find a config anywhere (or we wanted to update)
8585
else
8686
-- Write the embedded config to disk
87-
local defaultConfig = io.open(configPath, 'w+')
87+
local defaultConfig = io.open(PRICES_CONFIG_PATH, 'w+')
8888
if defaultConfig then
8989
defaultConfig:write(LIB_PRICES_CONFIG)
9090
defaultConfig:close()
@@ -93,7 +93,7 @@ Ini = (function()
9393
end
9494

9595
-- Try again
96-
file = io.open(configPath, 'r')
96+
file = io.open(PRICES_CONFIG_PATH, 'r')
9797
end
9898

9999
local priceConfig = loadIniFile(file)

0 commit comments

Comments
 (0)