mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-09-08 01:05:18 +00:00
fix(submission): rmj language
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
d897a27801
commit
bdd05d0527
@ -396,7 +396,6 @@ export default class CodeforcesProvider implements IBasicProvider {
|
||||
files.push({
|
||||
name: 'answer.code',
|
||||
content: body.source,
|
||||
lang: '/',
|
||||
});
|
||||
}
|
||||
|
||||
|
@ -251,7 +251,7 @@ class UOJSubmission {
|
||||
$zip_file = new ZipArchive();
|
||||
$zip_file->open(UOJContext::storagePath() . $submission->getContent('file_name'), ZipArchive::CREATE);
|
||||
$tot_size = 0;
|
||||
$language = '/';
|
||||
$language = $submission->info['language'];
|
||||
|
||||
foreach ($files as $file) {
|
||||
$zip_file->addFromString($file['name'], $file['content']);
|
||||
|
Loading…
Reference in New Issue
Block a user