Skip to content

Commit 0579e83

Browse files
kzrnmkoba-e964
authored andcommitted
Change sleep command to time.sleep
1 parent 7a9ab40 commit 0579e83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

onlinejudge_verify/verify.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ def verify_file(path: pathlib.Path, *, compilers: List[str], tle: float, jobs: i
7676
directory = pathlib.Path('.verify-helper/cache') / hashlib.md5(url.encode()).hexdigest()
7777
if not (directory / 'test').exists() or list((directory / 'test').iterdir()) == []:
7878
directory.mkdir(parents=True, exist_ok=True)
79-
exec_command(['sleep', '2'])
79+
time.sleep(2)
8080
command = ['oj', 'download', '--system', '-d', str(directory / 'test'), '--silent', url]
8181

8282
if os.environ.get('DROPBOX_TOKEN'):

0 commit comments

Comments
 (0)