mirror of
https://github.com/MCV-Software/TWBlue.git
synced 2025-03-13 17:13:21 -06:00
Fix API deprecation warning.
This commit is contained in:
parent
e0e1f6f0f9
commit
695f9458b4
@ -37,7 +37,7 @@ class list(object):
|
||||
if self.system == "Windows":
|
||||
if reversed == False: items = self.list.GetItemCount()
|
||||
else: items = 0
|
||||
self.list.InsertStringItem(items, item[0])
|
||||
self.list.InsertItem(items, str(item[0]))
|
||||
for i in xrange(1, len(self.columns)):
|
||||
self.list.SetStringItem(items, i, item[i])
|
||||
else:
|
||||
|
Loading…
x
Reference in New Issue
Block a user