Skip to content

Commit 2507fe4

Browse files
Update activestorage/active.py
Co-authored-by: David Hassell <[email protected]>
1 parent 9aca259 commit 2507fe4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

activestorage/active.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ def __init__(
128128
self.ds = None
129129
input_variable = False
130130
if dataset is None:
131-
raise ValueError(f"Must use a valid file or variable string for dataset. Got {dataset}")
131+
raise ValueError(f"Must use a valid file name or variable object for dataset. Got {dataset!r}")
132132
if isinstance(dataset, Path) and not dataset.exists():
133133
raise ValueError(f"Path to input file {dataset} does not exist.")
134134
if not isinstance(dataset, Path) and not isinstance(dataset, str):

0 commit comments

Comments
 (0)