diff --git a/apps/dashboard/xaal/dashboard/app.py b/apps/dashboard/xaal/dashboard/app.py
index 141d239cbabc88d44be64069f7c8d292c6dcc3a2..0f0352862eedc1131033f670f6021822d7c4528e 100644
--- a/apps/dashboard/xaal/dashboard/app.py
+++ b/apps/dashboard/xaal/dashboard/app.py
@@ -1,4 +1,3 @@
-from email.policy import default
 from gevent import monkey; monkey.patch_all(thread=False)
 from gevent.pywsgi import WSGIServer
 from geventwebsocket.handler import WebSocketHandler
@@ -47,7 +46,7 @@ def run():
 
 def stop():
     global server
-    server.stop()
+    server.stop() # pyright: ignore
 
 def main():
     # This apps can run with gevent alone (without asyncio)