修改部分命名风格

This commit is contained in:
virusdefender
2015-08-12 14:56:18 +08:00
parent 88be032a38
commit 2ba1fa5669
4 changed files with 21 additions and 12 deletions

View File

@@ -187,7 +187,7 @@ class TestCaseUploadAPIView(APIView):
return error_response(u"测试用例文件不完整,缺少" + name[0] + ".in")
problem_test_dir = rand_str()
test_case_dir = settings.TEST_CASE_DIR + "test_case/" + problem_test_dir + "/"
test_case_dir = settings.TEST_CASE_DIR + problem_test_dir + "/"
# 得到了合法的测试用例文件列表 然后去解压缩
os.mkdir(test_case_dir)