mistercrunch commented on code in PR #35220:
URL: https://github.com/apache/superset/pull/35220#discussion_r2371345820


##########
superset/daos/theme.py:
##########
@@ -76,13 +71,10 @@ def find_system_dark(cls) -> Optional[Theme]:
 
         if len(system_darks) > 1:
             logger.warning(
-                "Multiple system dark themes found (%s), falling back to 
config theme",
+                "Multiple system dark themes found (%s), none will be used",
                 len(system_darks),
             )
+            return None

Review Comment:
   line not needed as there's a catchall bellow



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to