tools: fix incorrect special method signature

Continuation of 62678baca1.
This commit is contained in:
Yaroslav Chvanov
2023-02-25 00:10:11 +03:00
parent b275204c87
commit 313c34fa98

View File

@@ -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: