From 51d737b272926c49cefdf5b0c49648eddd7830c7 Mon Sep 17 00:00:00 2001 From: Will McGugan Date: Fri, 13 Aug 2021 21:35:05 +0100 Subject: [PATCH] no async --- examples/calculator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/calculator.py b/examples/calculator.py index ffdcefc7d..05d99eba9 100644 --- a/examples/calculator.py +++ b/examples/calculator.py @@ -94,7 +94,7 @@ class Calculator(GridView): # This allows us to write self.display = "100" to update the display self.numbers.value = value - async def compute_show_ac(self) -> bool: + def compute_show_ac(self) -> bool: """Compute show_ac reactive value.""" # Condition to show AC button over C return self.value in ("", "0") and self.display == "0"