telescan icon indicating copy to clipboard operation
telescan copied to clipboard

TypeError: list indices must be integers or slices, not str

Open kurtts11 opened this issue 4 years ago • 2 comments

After selecting item 1, an error message appears

Traceback (most recent call last):
  File "telescan.py", line 108, in <module>
    dialogs = app.get_dialogs()['dialogs']
TypeError: list indices must be integers or slices, not str

After selecting item 3, an error message appears

Traceback (most recent call last):
  File "telescan.py", line 133, in <module>
    dialogs = app.get_dialogs()['dialogs']
TypeError: list indices must be integers or slices, not str

kurtts11 avatar Oct 01 '19 12:10 kurtts11

Hi @kurtts11

I guess that the lib changed the structure of the data, let me check and I'll update the new code

pielco11 avatar Oct 01 '19 17:10 pielco11

Quite late

Should work by now

pielco11 avatar Dec 04 '19 16:12 pielco11