Skip to content

Commit ced7b4d

Browse files
committed
Fix UnicodeEncodeError in bitmessageqt.blacklist when deleting an entry
1 parent 9a1424c commit ced7b4d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/bitmessageqt/blacklist.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -197,11 +197,11 @@ def on_action_BlacklistDelete(self):
197197
if BMConfigParser().get('bitmessagesettings', 'blackwhitelist') == 'black':
198198
sqlExecute(
199199
'''DELETE FROM blacklist WHERE label=? AND address=?''',
200-
str(labelAtCurrentRow), str(addressAtCurrentRow))
200+
labelAtCurrentRow, addressAtCurrentRow)
201201
else:
202202
sqlExecute(
203203
'''DELETE FROM whitelist WHERE label=? AND address=?''',
204-
str(labelAtCurrentRow), str(addressAtCurrentRow))
204+
labelAtCurrentRow, addressAtCurrentRow)
205205
self.tableWidgetBlacklist.removeRow(currentRow)
206206

207207
def on_action_BlacklistClipboard(self):

0 commit comments

Comments
 (0)