Skip to content

Commit

Permalink
Fix embarrassing syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
boppreh committed Nov 9, 2021
1 parent 40a449d commit 51601e6
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("# 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))
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

0 comments on commit 51601e6

Please sign in to comment.