Skip to content

Commit 1597be7

Browse files
committed
fixup! fix: wrap data_home in Path()
1 parent d55984f commit 1597be7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libsvmdata/abstraction.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def _get_data_home(subdir_name=""):
2222
else:
2323
data_home = Path(data_home)
2424

25-
return data_home / subdir_name if subdir_name else data_home
25+
return data_home / subdir_name
2626

2727

2828
class AbstractDataset(ABC):

0 commit comments

Comments
 (0)