mirror of
https://github.com/QData/TextAttack.git
synced 2021-10-13 00:05:06 +03:00
revert changes and fix circular imports
This commit is contained in:
@@ -156,9 +156,5 @@ TEXTATTACK_CACHE_DIR = os.environ.get(
|
||||
if "TA_CACHE_DIR" in os.environ:
|
||||
set_cache_dir(os.environ["TA_CACHE_DIR"])
|
||||
|
||||
if not (
|
||||
"TEXTATTACK_DOC_BUILD" in os.environ
|
||||
and os.environ["TEXTATTACK_DOC_BUILD"] == "TRUE"
|
||||
):
|
||||
# Don't do installation when building docs.
|
||||
_post_install_if_needed()
|
||||
|
||||
_post_install_if_needed()
|
||||
|
||||
Reference in New Issue
Block a user