WebHost: Fixed warning ".gitignore dropped, as it has no valid sprite data." (#1174)

* Fixed warning ".gitignore dropped, as it has no valid sprite data." on webhost

* Changed to exclude files starting with .
This commit is contained in:
Jarno 2022-11-02 19:06:00 +01:00 committed by GitHub
parent c378933274
commit af3b752093
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ def update_sprites_lttp():
spriteData = [] spriteData = []
for file in os.listdir(input_dir): for file in (file for file in os.listdir(input_dir) if not file.startswith(".")):
sprite = Sprite(os.path.join(input_dir, file)) sprite = Sprite(os.path.join(input_dir, file))
if not sprite.name: if not sprite.name: