From 313c34fa9893c9dbb9ad69a7c629fb19dca203c0 Mon Sep 17 00:00:00 2001 From: Yaroslav Chvanov Date: Sat, 25 Feb 2023 00:10:11 +0300 Subject: [PATCH] tools: fix incorrect special method signature Continuation of 62678baca17fdb9da54623d3829e4f3c5e9e214b. --- tools/ratbagc.py.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/ratbagc.py.in b/tools/ratbagc.py.in index 66397580..51e7989c 100644 --- a/tools/ratbagc.py.in +++ b/tools/ratbagc.py.in @@ -334,7 +334,7 @@ class RatbagdProfile(metaclass=MetaRatbag): self._leds = [RatbagdLed(self._profile, i) for i in range(libratbag.ratbag_device_get_num_leds(device))] - def __exit__(self): + def __exit__(self, exc_type, exc_val, exc_tb): for r in self._resolutions: r.__exit__(None, None, None) for b in self._buttons: