fix(config): platforms, not contests
This commit is contained in:
parent
ef8ee26edf
commit
0a320945a0
4 changed files with 21 additions and 17 deletions
|
|
@ -72,7 +72,7 @@ function M.get_source_file(language)
|
|||
end
|
||||
|
||||
local config = require('cp.config').get_config()
|
||||
local contest_config = config.contests[M.get_platform()]
|
||||
local contest_config = config.platforms[M.get_platform()]
|
||||
if not contest_config then
|
||||
return nil
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue