mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-01-03 16:10:11 +01:00
tools: measure-fuzz: fix exception printing
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/x86_64-linux-gnu/libinput/libinput-measure-fuzz", line 464, in <module>
main(sys.argv)
File "/usr/lib/x86_64-linux-gnu/libinput/libinput-measure-fuzz", line 458, in main
print('Error: {}'.format(e.message))
AttributeError: 'InvalidConfigurationError' object has no attribute 'message'
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>:
(cherry picked from commit a904738730)
This commit is contained in:
parent
62a04b5d6d
commit
a2f411bc4b
1 changed files with 1 additions and 1 deletions
|
|
@ -455,7 +455,7 @@ def main(args):
|
|||
except PermissionError as e:
|
||||
print('Permission denied, please re-run as root')
|
||||
except InvalidConfigurationError as e:
|
||||
print('Error: {}'.format(e.message))
|
||||
print('Error: {}'.format(e))
|
||||
except KeyboardInterrupt as e:
|
||||
print('Exited on user request')
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue