1
0
forked from drath/libratbag

ratbagd: format with ruff format

This commit is contained in:
Yaroslav Chvanov
2024-09-24 18:53:06 +03:00
parent 52dff63a64
commit 3bf556fb69

View File

@@ -742,7 +742,7 @@ class RatbagdResolution(_RatbagdDBus):
@staticmethod @staticmethod
def _convert_resolution_from_dbus( def _convert_resolution_from_dbus(
res: Union[int, Tuple[int, int]] res: Union[int, Tuple[int, int]],
) -> Union[Tuple[int], Tuple[int, int]]: ) -> Union[Tuple[int], Tuple[int, int]]:
""" """
Convert resolution from what D-Bus API returns - either an int or a tuple of two ints, to a tuple of either one or two ints. Convert resolution from what D-Bus API returns - either an int or a tuple of two ints, to a tuple of either one or two ints.