Fix for log messages "Exception ignored in: 'kivy.properties.dpi2px'"
Right now kivymd causes errors in kivy console (log):
TypeError: float() argument must be a string or a number, not 'NoneType'
Exception ignored in: 'kivy.properties.dpi2px'
(It happens at least on Python 3)
This PR fixes it.
This errors were also mentioned here: https://gitlab.com/kivymd/KivyMD/issues/85
Edited by username-removed-804643