Skip to content
Browse files

Fixes recursion error in Kivy id property

Error introduced in Kivy 1.11.0 with newly deprecated id property. This change eliminates the error (id was not needed for anything but information in the log file).
  • Loading branch information...
qcapen committed Jun 7, 2019
1 parent b8d490e commit 2fb90742c458d45be17388b0932d29569ba472c3
Showing with 2 additions and 2 deletions.
  1. +2 −2 mpfmc/uix/
@@ -149,7 +149,7 @@ def __init__(self, mc: "MpfMc", config: Optional[dict] = None,

def __repr__(self) -> str: # pragma: no cover
return '<{} Widget id={}>'.format(self.widget_type_name,
return '<{} Widget>'.format(self.widget_type_name)

def get_display():
@@ -967,7 +967,7 @@ def __init__(self, widget: "Widget",
self._widget = widget

def __repr__(self) -> str: # pragma: no cover
return '<WidgetContainer id={} z={} key={}>'.format(, self.z, self.key)
return '<WidgetContainer z={} key={}>'.format(self.z, self.key)

def __lt__(self, other: "KivyWidget") -> bool:
"""Less than comparison operator (based on z-order value).

0 comments on commit 2fb9074

Please sign in to comment.
You can’t perform that action at this time.