Skip to content

Commit c2e2de4

Browse files
committed
fixed py4web_ignore parse issue in dashboard, thanks Tom
1 parent 67bd0c8 commit c2e2de4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/_dashboard/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ def visible(root, name, filter=filter):
294294
[
295295
{"name": d, "content": store[os.path.join(root, d)]}
296296
for d in dirs
297-
if visible(root, d)
297+
if visible(root, d) and os.path.join(root, d) in store
298298
],
299299
key=lambda item: item["name"],
300300
)

0 commit comments

Comments
 (0)