Skip to content

Commit 1c8b7fb

Browse files
committed
cosmetic
1 parent 33e6798 commit 1c8b7fb

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

shiny/_static.py

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -38,14 +38,8 @@ def remove_shinylive_local(
3838
def get_default_shinylive_dir() -> Path:
3939
import platformdirs
4040

41-
return (
42-
Path(
43-
platformdirs.user_cache_dir( # pyright: ignore[reportUnknownMemberType, reportUnknownArgumentType]
44-
appname="shiny"
45-
)
46-
)
47-
/ "shinylive"
48-
)
41+
user_cache_dir = platformdirs.user_cache_dir("shinylive")
42+
return Path(user_cache_dir) / "shinylive"
4943

5044

5145
def _installed_shinylive_versions(shinylive_dir: Optional[Path] = None) -> list[str]:

0 commit comments

Comments
 (0)