diff --git a/lib/touchscreen.py b/lib/touchscreen.py index 47c713d..9557552 100644 --- a/lib/touchscreen.py +++ b/lib/touchscreen.py @@ -40,7 +40,6 @@ def page_touchscreen(): def set_columns(width): nonlocal number_of_columns - print(width) if width > 1400: number_of_columns = 6 elif width > 1200: diff --git a/main.py b/main.py index e400bf7..8afed99 100644 --- a/main.py +++ b/main.py @@ -53,7 +53,127 @@ def main(): ui.toggle.default_props('rounded') ui.row.default_classes('items-baseline') - ui.run(favicon="favicon.svg", port=port, storage_secret=secret, language='de-DE', show_welcome_message=False) + favicon = ''' + + + + + + + + + + + + + image/svg+xml + + + + + Openclipart + + + + + + + + + + + +''' + + ui.run(favicon=favicon, port=port, storage_secret=secret, language='de-DE', show_welcome_message=False) if __name__ in ("__main__", "__mp_main__"): parser = argparse.ArgumentParser(description=f'{app_title} {app_version}')