Skip to content

Commit

Permalink
fix(utils): remove non empty pycache dirs
Browse files Browse the repository at this point in the history
  • Loading branch information
Gamliel Cohen committed Jun 22, 2022
1 parent dbfdd84 commit fa32ca1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pr_st_cli/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def clean(root: str) -> None:

# Remove the __pycache__ folder
try:
os.removedirs(f"{root}/streamlit/__pycache__")
shutil.rmtree(f"{root}/streamlit/__pycache__")
except FileNotFoundError:
pass

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ build-backend = "poetry.core.masonry.api"

[tool.poetry]
name = "pr-st-cli"
version = "0.0.41"
version = "0.0.42"
description = "pr-st-cli is a CLI package that helps create streamlit templates"
readme = "README.md"
authors = ["gamcoh <cohengamliel8@gmail.com>"]
Expand Down

0 comments on commit fa32ca1

Please sign in to comment.