Added 'content' and 'static' dirs to the repo
This commit is contained in:
parent
6b29cfc7a5
commit
81e7dd88ff
|
@ -72,6 +72,7 @@ def scan_dir(path: str, orig_path=None) -> list:
|
|||
if not orig_path: orig_path = path
|
||||
|
||||
for entry in os.scandir(path):
|
||||
if entry.name.startswith('.'): continue # skip hidden entries (may change in the future)
|
||||
# we don't want symlinks right now (smart scanning may be added in the future)
|
||||
if entry.is_symlink(): continue
|
||||
if entry.is_file():
|
||||
|
|
Reference in New Issue