Skip to content

Commit

Permalink
add code comment
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmonkey4eva committed Oct 5, 2024
1 parent c942b6c commit 8b69f86
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/frontend_management.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@ def init_frontend_unsafe(cls, version_string: str, provider: Optional[FrontEndPr
Path(cls.CUSTOM_FRONTENDS_ROOT) / provider.folder_name / semantic_version
)
if not os.path.exists(web_root):
# Use tmp path until complete to avoid path exists check passing from interrupted downloads
tmp_path = web_root + ".tmp"
try:
os.makedirs(tmp_path, exist_ok=True)
Expand Down

0 comments on commit 8b69f86

Please sign in to comment.