Skip to content

Commit

Permalink
fix f-string escape (#41)
Browse files Browse the repository at this point in the history
Signed-off-by: h3ndrik <[email protected]>
  • Loading branch information
h3ndrik authored Oct 27, 2024
1 parent 712de00 commit a2bf38a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/onthespot/gui/mainui.py
Original file line number Diff line number Diff line change
Expand Up @@ -621,7 +621,7 @@ def download_btn_clicked(item_name, item_url, item_service, item_type, item_id,

btn.setMinimumHeight(30)
service = QTableWidgetItem(result['item_service'].title())
service.setIcon(QIcon(os.path.join(config.app_root, 'resources', 'icons', f'{result['item_service']}.png')))
service.setIcon(QIcon(os.path.join(config.app_root, 'resources', 'icons', f'{result["item_service"]}.png')))

rows = self.tbl_search_results.rowCount()
self.tbl_search_results.insertRow(rows)
Expand Down

0 comments on commit a2bf38a

Please sign in to comment.