feat: add auto-tare functionality and update scale handling based on touch sensor connection

This commit is contained in:
2025-03-30 16:01:17 +02:00
parent e9d32ee060
commit 32bb85f897
6 changed files with 79 additions and 18 deletions

View File

@ -14,7 +14,7 @@ def copy_file(input_file, output_file):
def should_compress(file):
# Skip compression for spoolman.html
if file == 'spoolman.html':
if file == 'spoolman.html' or file == 'waage.html':
return False
# Komprimiere nur bestimmte Dateitypen
return file.endswith(('.js', '.png', '.css', '.html'))