We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 80ddff1 commit 02e1e6bCopy full SHA for 02e1e6b
1 file changed
pytailwindcss_extra/main.py
@@ -13,10 +13,11 @@
13
14
15
def main() -> None:
16
- bin_dir_path = environ.get("PYTAILWINDCSS_EXTRA_BIN_DIR")
17
- if not bin_dir_path:
+ temp_bin_dir_path = environ.get("PYTAILWINDCSS_EXTRA_BIN_DIR")
+ if not temp_bin_dir_path:
18
bin_dir_path: Path = Path(__file__).parent.resolve() / "bin"
19
- bin_dir_path = Path(bin_dir_path)
+ else:
20
+ bin_dir_path = Path(temp_bin_dir_path)
21
22
# TODO: cache the latest version so it doesn't need to send a request each run
23
version = environ.get("PYTAILWINDCSS_EXTRA_VERSION", "latest")
0 commit comments