1
0
forked from drath/libratbag

ratbagctl: fix error when printing separate x/y resolutions

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer
2016-03-15 12:21:30 +10:00
parent 7c622ecc58
commit 0ebbccc6cf

View File

@@ -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]))