1👍
You most likely have spaces mixed with tabs in your line indentation. Set your IDE to display space and tab characters and then replace the tabs with spaces.
0👍
There’s a tab character before timestamp. You should either use spaces or tabs to indent Python, never both.
Source:stackexchange.com