Skip to content

Commit

Permalink
Fix f-string bug in Python < 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
ramikg committed Oct 21, 2024
1 parent ce623ac commit 83aba46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion linkplay_cli/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ def info(self, args):
model = status['project']
hardware = status['hardware']

print(f'Device name: {status['DeviceName']}{new_device_string}')
print(f'Device name: {status["DeviceName"]}{new_device_string}')
print(f'Model: {model}')
print(f'Device time: {self._status_to_time_string(status)}')
self._print_info_if_not_empty('Wi-Fi IP address', status['apcli0'])
Expand Down

0 comments on commit 83aba46

Please sign in to comment.