2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-15 19:45:46 +00:00

added autofixes

This commit is contained in:
Matthias Mair
2024-01-07 20:58:23 +01:00
parent cc66c93136
commit a92442e60e
238 changed files with 11858 additions and 10630 deletions

View File

@ -15,13 +15,9 @@ def define_env(env):
assets = []
allowed = [
'.png',
'.jpg',
]
allowed = ['.png', '.jpg']
for asset in os.listdir(directory):
if any(asset.endswith(x) for x in allowed):
assets.append(os.path.join(subdir, asset))