Help me, please! | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Help me, please!

Exception in Tkinter callback Traceback (most recent call last): File "C:\Users\Alexandra\AppData\Local\Programs\Python\Python310\lib\tkinter\__init__.py", line 1921, in __call__ return self.func(*args) File "C:\Users\Alexandra\Downloads\PyTurbo-master\PyTurbo-master\Turbo.py", line 31, in turbo csrf1 = r1.cookies.get_dict()['csrftoken'] KeyError: 'csrftoken'

20th Jan 2022, 10:09 AM
Alexandra Iosif
1 Answer
+ 1
I think the dictionary you referred to doesn't have any item having that <csrftoken> as key, whatever <csrftoken> is ...
20th Jan 2022, 10:40 AM
Ipang