Skip to content

Commit ea7dd5c

Browse files
mgxdoesteban
andauthored
Apply suggestions from code review
Co-Authored-By: Oscar Esteban <[email protected]>
1 parent 67e7ffc commit ea7dd5c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

templateflow/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@
1616

1717
import os
1818
from . import api
19-
from .conf import update
19+
from .conf import update, TF_USE_DATALAD
2020

2121

22-
if os.getenv("TEMPLATEFLOW_AUTOUPDATE", "1") not in (
22+
if not TF_USE_DATALAD and os.getenv("TEMPLATEFLOW_AUTOUPDATE", "1") not in (
2323
"false",
2424
"off",
2525
"0",

0 commit comments

Comments
 (0)