Skip to content

Commit 3f27857

Browse files
committed
small fix
1 parent 1676c49 commit 3f27857

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/download.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ function datadir(depname, dir = nothing; i_accept_the_terms_of_use = nothing)
2020
if isdir(dir)
2121
dir
2222
else
23-
!DataDeps.env_bool("DATADEPS_DISABLE_DOWNLOAD") || error("DATADEPS_DISABLE_DOWNLOAD enviroment variable set. Can not trigger download.")
23+
DataDeps.env_bool("DATADEPS_DISABLE_DOWNLOAD") && error("DATADEPS_DISABLE_DOWNLOAD enviroment variable set. Can not trigger download.")
2424
DataDeps.download(DataDeps.registry[depname], dir)
2525
dir
2626
end

0 commit comments

Comments
 (0)