Skip to content

Commit

Permalink
if sys.platform.startswith('freebsd')
Browse files Browse the repository at this point in the history
  • Loading branch information
probonopd authored May 2, 2021
1 parent 47c7c5b commit b3c2156
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion overlays/uzip/localize/files/usr/local/sbin/localize
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ for line in subprocess.check_output(usbtool).split(b'\n'):
if ("Apple" in line and "Keyboard" in line):
is_apple_keyboard = True
if "RPI Wired Keyboard" in line:
if sys.platform == 'freebsd':
if sys.platform.startswith('freebsd'):
iProduct = line.split("<")[1].split(">")[0]
else:
iProduct = line.split("[")[1].split("]")[0]
Expand Down

0 comments on commit b3c2156

Please sign in to comment.