Skip to content

Commit 074e0cf

Browse files
janvanrijnmfeurer
authored andcommitted
fixes locking bug ? (#429)
1 parent fb20762 commit 074e0cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

openml/tasks/functions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ def get_task(task_id):
278278
tid_cache_dir = _create_task_cache_dir(task_id)
279279

280280
with lockutils.external_lock(
281-
name='datasets.functions.get_dataset:%d' % task_id,
281+
name='task.functions.get_task:%d' % task_id,
282282
lock_path=os.path.join(config.get_cache_directory(), 'locks'),
283283
):
284284
try:

0 commit comments

Comments
 (0)