Skip to content

Commit

Permalink
Update wording on input group error
Browse files Browse the repository at this point in the history
  • Loading branch information
boppreh authored Sep 29, 2021
1 parent 7f03a3d commit 4840539
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion keyboard/_nixcommon.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def input_file(self):
self._input_file = open(self.path, 'rb')
except IOError as e:
if e.strerror == 'Permission denied':
print('Permission denied ({}). You must be in the "input" to access global events. Use "sudo usermod -a -G input USER" to add user to the required group.'.format(self.path))
print("# ERROR: Failed to read device '{}'. You must be in the "input" group to access global events. Use "sudo usermod -a -G input USERNAME" to add user to the required group.".format(self.path))
exit()

def try_close():
Expand Down

1 comment on commit 4840539

@fridde
Copy link

@fridde fridde commented on 4840539 Nov 9, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This creates a syntax error. Double quotation marks. Didn't anyone notice?

Please sign in to comment.