mirror of
https://github.com/libratbag/libratbag.git
synced 2026-11-07 15:14:38 +01:00
ratbagctl: fix error when printing separate x/y resolutions
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
@@ -113,7 +113,7 @@ def show_resolution(r, args):
|
||||
d.description))
|
||||
print(" Report Rate: {}Hz".format(r.report_rate))
|
||||
if "separate-xy-resolution" in r.capabilities:
|
||||
print(" Resolution: {}x{}dpi".format(r.resolution))
|
||||
print(" Resolution: {}x{}dpi".format(*r.resolution))
|
||||
else:
|
||||
print(" Resolution: {}dpi".format(r.resolution[0]))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user