mirror of
https://github.com/imayushsaini/Bombsquad-Ballistica-Modded-Server.git
synced 2025-11-07 17:36:15 +00:00
1.7.33 sync
This commit is contained in:
parent
0aad008699
commit
ea0d105e12
23 changed files with 405 additions and 228 deletions
6
dist/ba_data/python/babase/_meta.py
vendored
6
dist/ba_data/python/babase/_meta.py
vendored
|
|
@ -288,14 +288,12 @@ class DirectoryScan:
|
|||
) -> None:
|
||||
"""Scan provided path and add module entries to provided list."""
|
||||
try:
|
||||
# Special case: let's save some time and skip the whole 'babase'
|
||||
# package since we know it doesn't contain any meta tags.
|
||||
fullpath = Path(path, subpath)
|
||||
# Note: skipping hidden dirs (starting with '.').
|
||||
entries = [
|
||||
(path, Path(subpath, name))
|
||||
for name in os.listdir(fullpath)
|
||||
# Actually scratch that for now; trying to avoid special cases.
|
||||
# if name != 'babase'
|
||||
if not name.startswith('.')
|
||||
]
|
||||
except PermissionError:
|
||||
# Expected sometimes.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue