Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
a3305 committed Nov 14, 2023
2 parents b87f53f + 0526391 commit 4b02544
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/web_ui.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,9 @@ def refresh_file_display(state_dict: Dict) -> List[str]:
filenames = os.listdir(work_dir)
paths = []
for filename in filenames:
paths.append(
os.path.join(work_dir, filename)
)
path = os.path.join(work_dir, filename)
if not os.path.isdir(path):
paths.append(path)
return paths


Expand Down

0 comments on commit 4b02544

Please sign in to comment.